Skip to content

ohnosequences/sbt4125

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbt bug 4125

See sbt/sbt#4125 for context.

steps

Open a shell and

git checkout "x=1"

Now run sbt on a different shell and do ~test. Once it runs for the first time,

git checkout "x=2"

Take a look at the test passing, and the definitions of x and y.

Problem

Incremental compilation when used together with the optimizer generates incorrect bytecode: modifications in methods/vals are not propagated to wherever they are being inlined.

Expectation

The incremental compiler should not ever generate incorrect bytecode.

Version

sbt 1.1.0 most likely previous ones too.

About

sbt issue #4125

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages