modeltype ecore "strict" uses ecore('http://www.eclipse.org/emf/2002/Ecore'); | |
transformation bug463396(); | |
main() { | |
var v := object EClass{}; | |
v.name := test(); | |
assert fatal (v.name = 'foo'); | |
} | |
helper test() : String { | |
return if true then | |
return switch { | |
case (true) 'foo'; | |
} | |
endif | |
} |