diff options
author | Som Snytt <som.snytt@gmail.com> | 2016-11-09 22:59:34 -0800 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2016-11-10 19:54:41 -0800 |
commit | 1dfdb9cf709be3234479cf4db089007fd63c3402 (patch) | |
tree | 2d80a26f6ef5904c4d7fe93c08366c7eb2130311 /test/files/run/t10037/shifter_2.scala | |
parent | 74ed575a0f62c814595d159a8fd2290c04bcff5f (diff) | |
download | scala-1dfdb9cf709be3234479cf4db089007fd63c3402.tar.gz scala-1dfdb9cf709be3234479cf4db089007fd63c3402.tar.bz2 scala-1dfdb9cf709be3234479cf4db089007fd63c3402.zip |
[nomerge] SI-10037 ASR/LSR switched in ICodeReader
Noticed when inlining from a class file.
The test doesn't work because inlining fails with
bytecode unavailable due to:
```
scala.reflect.internal.MissingRequirementError: object X in compiler mirror not found.
```
Diffstat (limited to 'test/files/run/t10037/shifter_2.scala')
-rw-r--r-- | test/files/run/t10037/shifter_2.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/run/t10037/shifter_2.scala b/test/files/run/t10037/shifter_2.scala new file mode 100644 index 0000000000..901dd2a312 --- /dev/null +++ b/test/files/run/t10037/shifter_2.scala @@ -0,0 +1,8 @@ + +object Test extends App { + val i = shifty.X.f(Int.MinValue) + val j = shifty.X.g(Int.MinValue) + println(i) + println(j) +} + |