|
|
|
Re: Autocomplete inconsistent with syntactic sugar [message #1735953 is a reply to message #1735731] |
Fri, 24 June 2016 02:30 |
chris yo Messages: 146 Registered: February 2013 |
Senior Member |
|
|
I am using autocomplete in Eclipse. My variable name is "isValid" with boolean type. When I type "m.is" and press Ctrl+Space and choose the correct variable, it will sometimes expand to m.isIsValid, which is technically the same as m.isValid. The variable is declared in xcore. And referred to in xtend.
for(m: resource.allContents.toIterable.filter(typeof(Directory)))
{
val info = new Information()
info.setIsValid(m.isValid) //can also be auto-completed as m.isIsValid
info.setIsValid(m.isIsValid) // works completely ok but is different from the previous line.
}
[Updated on: Fri, 24 June 2016 02:30] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.03083 seconds