Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullPointerException-s when 'component' word used in function comment in an interface #439

Closed
mpaluchowski opened this issue Aug 11, 2017 · 2 comments
Labels
Milestone

Comments

@mpaluchowski
Copy link
Contributor

The following two snippets will both cause NullPointerExceptions:

interface {
	/**
	 * component
	 */
	any function foo(required any bar);
}

and:

interface {
	/**
	 * component
	 */
	function foo(required any bar);
}

This happens only when:

  • it's an interface
  • the function has at least one argument
  • the comment (or @hint) of the function has the word component in it
@mpaluchowski mpaluchowski added this to the 1.2.3 milestone Aug 11, 2017
@TheRealAgentK TheRealAgentK modified the milestones: 1.2.3, 1.3.0 Aug 11, 2017
@ryaneberly
Copy link
Contributor

ryaneberly commented Aug 13, 2017

Wow, interface parsing isn't implemented. I'm suprised it hasn't been mentioned before
cfparser/cfparser#93

will be fixed in next cfparser release

ryaneberly added a commit that referenced this issue Aug 17, 2017
@ryaneberly
Copy link
Contributor

fixed in dev branch with cfparser 2.5.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants