Skip to content

Commit 8b31a5e

Browse files
author
anquetil
committed
Creating new VarTypeExpression ('var' type inference)
1 parent f685a0f commit 8b31a5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/FAST-Java-Model-Generator/FASTJavaMetamodelGenerator.class.st

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,8 @@ FASTJavaMetamodelGenerator >> defineClasses [
802802
javaLongTypeExpression withTesting.
803803
javaShortTypeExpression := self newClassNamed: #ShortTypeExpression comment: 'I represent a short type'.
804804
javaShortTypeExpression withTesting.
805+
javaVarTypeExpression := self newClassNamed: #VarTypeExpression comment: 'I represent a var type (type inference)'.
806+
javaVarTypeExpression withTesting.
805807
javaVoidTypeExpression := self newClassNamed: #VoidTypeExpression comment: 'I represent a short type'.
806808
javaVoidTypeExpression withTesting.
807809

0 commit comments

Comments
 (0)