-
Notifications
You must be signed in to change notification settings - Fork 84
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
PARSE_ERROR on component with a name coinciding with one instantiated elsewhere #347
Comments
@mpaluchowski, I can't reproduce this using the same files you mentioned and the code the from dev branch. |
True. Seems it doesn't occur when the referenced file is in place, even when there's one with the same filename. So, here's a recap: This situation triggers the error:
These don't trigger the error:
|
I one of our code bases I have 3,000 instances of this happening, so this one would be a blocker for use to use with our code. I'm not sure if conditions are identical (it's tricky and time consuming to test), so I'll wait for a fix for this one and see if that fixes also these issues. Otherwise, this could also occur in different circumstances. |
@mpaluchowski , Thanks for helping isolate that one. It was caused by a plugin error. It is fixed. |
Here's an odd one. Place the following two components in the same directory:
Note:
User.cfc
can have any content or not, it's empty in this case.User.cfc
is not undersomepackage
but in the same directory asTag.cfc
. The error occurs also when there exists a componentsomepackage.User
, in addition to theUser
here.Running CFLint on a folder with these two files will report a
PARSE_ERROR
onUser.cfc
:The text was updated successfully, but these errors were encountered: