Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 0.8.2, 0.9
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
""" Hello """ def Using[of T(System.IDisposable)](value as T, block as callable(T)): try: block(value) ensure: value.Dispose() Using(System.IO.StringReader("Hello"), { reader | print reader.ReadLine() })
If the parameter type is changed to System.Action[of T] it's all good.
Issue Links
- duplicates
-
BOO-854
Anonymous callable types fail when signature contains generic parameters
-
This is a private case of BOO-854.