Open johanwannheden opened 4 years ago
same issue as https://github.com/eclipse/xtext/issues/2298 ?
Might be related, hard for me to tell. The message relating to the BigDecimal
type is bogus, the assertThat(BigDecimal)
method just happens to be the first method declared in the AssertJ Assertions
class.
@szarnekow any idea what could cause this?
I assume it is caused by all type parameters on the overloads having the same name 🤕
In other words, some invalid shadowing kicking in when looking up JvmOperations on JvmDeclaredTypes
I've this on my list to investigate further.
The following valid Java code fails to compile in Xtend:
Whereas
MyType
refers to a type generated by EMF.With the following Xtend code:
the Xtend editor shows this error:
And this code:
results in the following error:
Xtend version used is 2.19.0.