Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Single Abstract Method support: synthesize SAMs | Adriaan Moors | 2013-10-04 | 1 | -0/+6 |
Under `-Xexperimental`, `typedFunction` invokes `synthesizeSAMFunction` when the expected type for the function literal (`pt`) is not the built-in `FunctionN` type of the expected arity, but `pt` does have a SAM with the expected number of arguments. PS: We'll require `import language.sam` instead of `-Xexperimental`, as soon as the SIP is ready and there are more tests. |