jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
Signup
GRECLIPSE
  • GRECLIPSE
  • GRECLIPSE-468 [parser] Better parser recovery
  • GRECLIPSE-494

rogue expression within a class body causes failure

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Sub-task Sub-task
  • Status: Resolved Resolved
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 2.0.0m2
  • Component/s: Parser
  • Labels:
    None
  • Number of attachments :
    0

Description

Bumping priority here because this will be required for grails usage. I am currently adding support for grails-specific content assist in domain classes. I would like to provide something like this:

class MyDomainClass {
  int intField

  belo<--here  

}

Content assist at <--here should provide a default implementation of the 'belongs' field, but until parser recovery is added here, it cannot.

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Andy Clement added a comment - 04/Nov/09 7:41 PM
class Simple {
	
	def getNumber() {
		return 42
	}
	
	asdf
		
	static main(args) {
		print new Simple().getNumber()
	}
}
Show
Andy Clement added a comment - 04/Nov/09 7:41 PM class Simple { def getNumber() { return 42 } asdf static main(args) { print new Simple().getNumber() } }
Hide
Permalink
Andy Clement added a comment - 23/Nov/09 7:03 PM

fixed

Show
Andy Clement added a comment - 23/Nov/09 7:03 PM fixed
Hide
Permalink
Andrew Eisenberg added a comment - 24/Nov/09 12:32 AM

Thanks! This will be very nice for the new grails support.

Show
Andrew Eisenberg added a comment - 24/Nov/09 12:32 AM Thanks! This will be very nice for the new grails support.
Hide
Permalink
Andy Clement added a comment - 24/Nov/09 9:45 AM

having slept on it, what it does may not be sufficient for you right now. It does fully recover but it chucks away the broken bit of declaration - you probably need that to hang your proposals off. let me know and I'll enhance it to keep hold of the broken thing too

Show
Andy Clement added a comment - 24/Nov/09 9:45 AM having slept on it, what it does may not be sufficient for you right now. It does fully recover but it chucks away the broken bit of declaration - you probably need that to hang your proposals off. let me know and I'll enhance it to keep hold of the broken thing too

People

  • Assignee:
    Andy Clement
    Reporter:
    Andy Clement
Vote (0)
Watch (0)

Dates

  • Created:
    04/Nov/09 7:40 PM
    Updated:
    14/Oct/11 4:11 PM
    Resolved:
    23/Nov/09 7:03 PM
  • Atlassian JIRA (v5.2.7#850-sha1:b2af0c8)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.