Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.5.1Release
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
I have this:
class Foo {
static main(args)
def printit()
{ print 'Message' }}
printit() in main is not underlined. This code won't work as printit is not declared static. Should printit() have been underlined...
The problem here is that type inferencing and underlining only check to see if a particular keyword is resolvable. It does not go the extra step to see if something is legal. However, this is a reasonable request and we should do something here.