aboutsummaryrefslogtreecommitdiff
path: root/sbt-bridge/bridge/src/sbt-test/source-dependencies/default-params/test
diff options
context:
space:
mode:
Diffstat (limited to 'sbt-bridge/bridge/src/sbt-test/source-dependencies/default-params/test')
-rw-r--r--sbt-bridge/bridge/src/sbt-test/source-dependencies/default-params/test9
1 files changed, 9 insertions, 0 deletions
diff --git a/sbt-bridge/bridge/src/sbt-test/source-dependencies/default-params/test b/sbt-bridge/bridge/src/sbt-test/source-dependencies/default-params/test
new file mode 100644
index 000000000..1e674f8f6
--- /dev/null
+++ b/sbt-bridge/bridge/src/sbt-test/source-dependencies/default-params/test
@@ -0,0 +1,9 @@
+> compile
+
+# switch which 'x' method has a default for the second parameter in A
+# this change is selected because of the encoding of default method names
+$ copy-file changes/A.scala A.scala
+
+# Both A.scala and B.scala need to be recompiled because the parameter needs to be explicitly provided
+# and it should be a compile error
+-> compile