diff options
author | Paul Phillips <paulp@improving.org> | 2013-10-12 10:51:06 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-10-12 10:51:06 -0700 |
commit | 72736f7238616f4e56a0ee28e9d204d95e81107f (patch) | |
tree | 43e1bb16ed50dd42df67ee1300883a3f65959e5d /test/files/neg/t6829.check | |
parent | ede4a958aa79aa07ed62283fc74314f2611d3dc4 (diff) | |
parent | 83feb8609161bf19247a8a310f8c5a9e3d8469f5 (diff) | |
download | scala-72736f7238616f4e56a0ee28e9d204d95e81107f.tar.gz scala-72736f7238616f4e56a0ee28e9d204d95e81107f.tar.bz2 scala-72736f7238616f4e56a0ee28e9d204d95e81107f.zip |
Merge pull request #3024 from retronym/ticket/7895
SI-7895 Error reporting: avoid cascading, truncation
Diffstat (limited to 'test/files/neg/t6829.check')
-rw-r--r-- | test/files/neg/t6829.check | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/test/files/neg/t6829.check b/test/files/neg/t6829.check index c7c641844e..a0b43e3b52 100644 --- a/test/files/neg/t6829.check +++ b/test/files/neg/t6829.check @@ -20,11 +20,31 @@ t6829.scala:50: error: type mismatch; required: _53.State where val _53: G val r = rewards(agent).r(s,a,s2) ^ +t6829.scala:50: error: type mismatch; + found : a.type (with underlying type T2) + required: _53.Action where val _53: G + val r = rewards(agent).r(s,a,s2) + ^ +t6829.scala:50: error: type mismatch; + found : s2.type (with underlying type T3) + required: _53.State where val _53: G + val r = rewards(agent).r(s,a,s2) + ^ t6829.scala:51: error: type mismatch; found : s.type (with underlying type T1) required: _50.State agent.learn(s,a,s2,r): G#Agent ^ +t6829.scala:51: error: type mismatch; + found : a.type (with underlying type T2) + required: _50.Action + agent.learn(s,a,s2,r): G#Agent + ^ +t6829.scala:51: error: type mismatch; + found : s2.type (with underlying type T3) + required: _50.State + agent.learn(s,a,s2,r): G#Agent + ^ t6829.scala:53: error: not found: value nextState Error occurred in an application involving default arguments. copy(agents = updatedAgents, state = nextState, pastHistory = currentHistory) @@ -33,4 +53,4 @@ t6829.scala:53: error: not found: value currentHistory Error occurred in an application involving default arguments. copy(agents = updatedAgents, state = nextState, pastHistory = currentHistory) ^ -9 errors found +13 errors found |