Incrementally compiling after certain code changes produces LinkingException
See original GitHub issueAs reported on the gitter channel, I and many others are seeing LinkingException
s being thrown. Now I have a reasonably easy reproducible case.
Steps:
- Clone https://github.com/payalabs/scalajs-tutorial/tree/linking-error
- From sbt, ~fastOptJS
- Rename
count
in theData
class tocountx
. You will see a compilation error (as expected). - Rename
countx
back tocount
.
You will see a LinkingException
.
This exception won’t go until you do one of the following:
clean
followed byfastOptJS
- Change (adding a line is fine) both
Data.scala
andTutorialApp.scala
One caveat: In our app, when we get an error, clean
has rarely helped. So there may be another condition under which such an exception is produced, but for now, I don’t have a reproducible case for that.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:11 (6 by maintainers)
Top Results From Across the Web
Incremental compilation | Apple Developer Forums
After compiling the error was still there, but the gestures wre still ... New code, no, vs. changes/edits to existing code, certain build...
Read more >remark: Incremental compilation has been disabled: it is not ...
I faced with issue after updating Xcode to version 13. As the compiler complains about whole module compilation, we need to use the ......
Read more >CHANGES.md · master · POTTIER Francois / menhir
Internal changes in the expansion of %inline symbols, eliminating certain useless variable renamings that would appear in semantic actions after expansion.
Read more >Overleaf wont compile even though there is no error - TeX
Sometimes it is worth to just try compiling after some time. My document which was not compiling just started to compile properly after...
Read more >Xcode Build Time Optimization - Part 1 - On Swift Wings
Incremental build - rebuilding a project after some source code changes. This build is created by a developer while working on a new...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in 78682118e626ec729836ecffa19f55f6e07ed369.
👏 Great