hg: closures/closures/langtools: The type of a closure should be reported with the appropriate token
neal at gafter.com
neal at gafter.com
Sun Jul 6 23:17:07 PDT 2008
Changeset: b965e47522e3
Author: gafter
Date: 2008-07-06 23:16 -0700
URL: http://hg.openjdk.java.net/closures/closures/langtools/rev/b965e47522e3
The type of a closure should be reported with the appropriate token
depending on whether it was written as a restricted closure or not.
Fix a small regression involving captured return types.
! src/share/classes/com/sun/tools/javac/code/Type.java
! src/share/classes/com/sun/tools/javac/code/Types.java
+ test/tools/javac/closures/Mahieu17.java
+ test/tools/javac/closures/Mahieu18.java
+ test/tools/javac/closures/Mahieu18.out
More information about the closures-dev
mailing list