-
Notifications
You must be signed in to change notification settings - Fork 130
Planning Eclipse4.8 JEP323
Simeon Andreev edited this page Feb 17, 2023
·
1 revision
Planning page for JDT Implementation of Local Variable Syntax for Lambda Parameters (JEP 323) for Java 11
Main tracking bug: To Create
Changes regarding the compiler:
Local Variable syntax is already supported in 18.3 via JEP 286 Support. Expecting that the addition of var keyword may not be a big issue for lambda parameters - hopefully no conflicts - to check. effort/time estimate for grammar for around a week (assuming conflicts)
- Determine the type of the var declaration - This should not be an issue since the type is already inferred of type-elided lambda parameters. - still giving a couple of days to iron out issues, if any.
- similar to type-elided params.
Shouldn't be much work since the code gen will not be different from existing ones.
no change expected.
no change expected.
- option of providing var at lambda -(2d?)
- Switch ASTs to JLS11 (generic - 1d)
- Show inferred type of variable - no change expected
- Allow JDT UI to target Java 11 in Compiler Preferences - generic (1d in parallel)
- Convert 'var' into the resolved type
- Convert type elided lambda param to var (what's the use anyway?) (3days for the above combined)
- Use 'var' in templates for lambdas? - 3 days