diff options
author | Lukas Rytz <lukas.rytz@gmail.com> | 2017-04-10 10:58:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-10 10:58:22 +0200 |
commit | d9c3bd53433f202f0123733613baf3a382076323 (patch) | |
tree | a9c6c5858a59bc4e4144bbc5887245f3365db65a /test/files/neg/ambiguous-same.check | |
parent | 1ef37f0bc18be5ed2ca8c33c0ea1912eed5dac3e (diff) | |
parent | ed63344a2dae7731c01737102fbe12b7ad10ba77 (diff) | |
download | scala-d9c3bd53433f202f0123733613baf3a382076323.tar.gz scala-d9c3bd53433f202f0123733613baf3a382076323.tar.bz2 scala-d9c3bd53433f202f0123733613baf3a382076323.zip |
Merge pull request #5838 from som-snytt/issue/2458
SI-2458 Make spec example live test
Diffstat (limited to 'test/files/neg/ambiguous-same.check')
-rw-r--r-- | test/files/neg/ambiguous-same.check | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/neg/ambiguous-same.check b/test/files/neg/ambiguous-same.check new file mode 100644 index 0000000000..58f4e60ece --- /dev/null +++ b/test/files/neg/ambiguous-same.check @@ -0,0 +1,6 @@ +ambiguous-same.scala:13: error: reference to x is ambiguous; +it is both defined in object X and imported subsequently by +import X.x + x + ^ +one error found |