diff options
author | Johannes Rudolph <johannes.rudolph@gmail.com> | 2013-12-10 16:39:01 +0100 |
---|---|---|
committer | Johannes Rudolph <johannes.rudolph@gmail.com> | 2013-12-10 16:39:01 +0100 |
commit | 7db59bd9984dc66f41719a1e79d2d1443adc80ba (patch) | |
tree | 4e24425eaefd489e7cbf4a38378548885ab2de6b /test/files/neg | |
parent | b345b42cac64aa97e3bbcc6f14ef8f08214ab56f (diff) | |
download | scala-7db59bd9984dc66f41719a1e79d2d1443adc80ba.tar.gz scala-7db59bd9984dc66f41719a1e79d2d1443adc80ba.tar.bz2 scala-7db59bd9984dc66f41719a1e79d2d1443adc80ba.zip |
fix typo in error messages
Diffstat (limited to 'test/files/neg')
-rw-r--r-- | test/files/neg/t4928.check | 2 | ||||
-rw-r--r-- | test/files/neg/t6231.check | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/files/neg/t4928.check b/test/files/neg/t4928.check index 06d4f22522..18a5d57a62 100644 --- a/test/files/neg/t4928.check +++ b/test/files/neg/t4928.check @@ -1,5 +1,5 @@ t4928.scala:3: error: parameter 'a' is already specified at parameter position 1 -Note that that 'z' is not a parameter name of the invoked method. +Note that 'z' is not a parameter name of the invoked method. f(z = 0, a = 1) ^ one error found diff --git a/test/files/neg/t6231.check b/test/files/neg/t6231.check index 2428bf66d0..6e107c97c7 100644 --- a/test/files/neg/t6231.check +++ b/test/files/neg/t6231.check @@ -1,6 +1,6 @@ t6231.scala:4: error: Implementation restriction: local trait Bug$X$1 is unable to automatically capture the free variable value ev$1 on behalf of <$anon: Function0>. You can manually assign it to a val inside the trait, -and refer that that val in <$anon: Function0>. For more details, see SI-6231. +and refer to that val in <$anon: Function0>. For more details, see SI-6231. def qux = { () => ev } ^ one error found |