blob: 56fdb048641fd6dc374955565afad542b56150cd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$ copy-file changes/B1.scala B.scala
> compile
$ copy-file changes/B2.scala B.scala
# Compilation of C.scala should fail because B.getInline now has type Double instead of Int
-> compile
$ copy-file changes/B1.scala B.scala
> run
$ copy-file changes/B3.scala B.scala
# The body of B.getInline was changed so C.scala should be recompiled
# If it was recompiled, run should fail since B.getInline now throws an exception
-> run
|