You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by GitBox <gi...@apache.org> on 2022/03/24 17:27:17 UTC

[GitHub] [daffodil-vscode] stevedlawrence opened a new pull request #93: Remove -Xcheckinit scalac option

stevedlawrence opened a new pull request #93:
URL: https://github.com/apache/daffodil-vscode/pull/93


   The sbt-tpoletcat plugin enables the -Xcheckinit scalacOption. This
   option causes scalac to wrap field accessors so they throw an exception
   on uninitialized access. Unfortunately, the error message generated in
   this exception includes an absolute path to scala files, which is a
   constant stored in byte code. This means different build systems create
   different bytecode due to different paths, and so builds are not
   reproducible.
   
   By removing it, we lose checks for unitialized accesses, but that seems
   unlikely and not worth the loss of reproducibility.
   
   Closes #92


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [daffodil-vscode] stevedlawrence merged pull request #93: Remove -Xcheckinit scalac option

Posted by GitBox <gi...@apache.org>.
stevedlawrence merged pull request #93:
URL: https://github.com/apache/daffodil-vscode/pull/93


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@daffodil.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org