Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

IntelliJ Ceylon parser lacks consistency #642

Open
loldrup opened this issue Jun 16, 2017 · 7 comments
Open

IntelliJ Ceylon parser lacks consistency #642

loldrup opened this issue Jun 16, 2017 · 7 comments

Comments

@loldrup
Copy link

loldrup commented Jun 16, 2017

The IntelliJ Ceylon parser gives different output for same content at different times.

If you look at this screenshot you see an error in the build log:
ceylon error 2017-06-16 13 59 00

But in this screenshot the build commences successfully:
ceylon no error 2017-06-16 13 59 11

However, the only thing I did in between the two screenshots was to click the green 'run' triangle once again.

So the Ceylon parser lacks consistency.

@bjansen
Copy link
Contributor

bjansen commented Jun 16, 2017

The first screenshot shows errors from the previous build. You fixed the error, clicked the 'run' icon which triggered a new build and started the program. The Messages window shows build errors, not errors related to the current editor. I don't think there is any issue her.

@bjansen
Copy link
Contributor

bjansen commented Jun 16, 2017

Oh wait no actually the editor is not showing errors because of #639.

@loldrup
Copy link
Author

loldrup commented Jun 16, 2017 via email

@bjansen
Copy link
Contributor

bjansen commented Jun 16, 2017

Line 14 is not valid, it should be variable String responseString; (annotations must appear before the type).

@loldrup
Copy link
Author

loldrup commented Jun 16, 2017 via email

@bjansen
Copy link
Contributor

bjansen commented Jun 16, 2017

I guess it must be an incremental build issue:

  • modify a file to introduce an issue
  • incremental build sees a change and reports the error
  • run the build again, no change was made so the incremental build is skipped
  • an old version of your code is run (the last version that compiled successfully)

@loldrup
Copy link
Author

loldrup commented Jun 16, 2017 via email

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

No branches or pull requests

2 participants