diff options
author | Martin Odersky <odersky@gmail.com> | 2003-04-03 09:41:43 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2003-04-03 09:41:43 +0000 |
commit | 5e49a572448667d635bd93905992ad2ba1fd108a (patch) | |
tree | 72ef9aa5a906961b1c4fd443a42eed139a30b3d5 /sources | |
parent | 6ffa9f1636201a142e794554ce27b5276cd846b3 (diff) | |
download | scala-5e49a572448667d635bd93905992ad2ba1fd108a.tar.gz scala-5e49a572448667d635bd93905992ad2ba1fd108a.tar.bz2 scala-5e49a572448667d635bd93905992ad2ba1fd108a.zip |
*** empty log message ***
Diffstat (limited to 'sources')
-rw-r--r-- | sources/scalac/typechecker/Infer.java | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sources/scalac/typechecker/Infer.java b/sources/scalac/typechecker/Infer.java index d0ccddb56d..ac9da5b7df 100644 --- a/sources/scalac/typechecker/Infer.java +++ b/sources/scalac/typechecker/Infer.java @@ -670,15 +670,12 @@ public class Infer implements Modifiers, Kinds { try { targs = methTypeArgs(tparams, params, argtypes1, restpe, pt, true); } catch (NoInstance ex) { - throw ex; -/* throw new Type.Error( applyErrorMsg( "no type parameters for ", tree, " exist so that it can be applied to arguments ", argtypes1, Type.AnyType) + "\n --- because ---\n" + ex.getMessage()); -*/ } Symbol[] uninstantiated = normalizeArgs(targs, tparams); checkBounds(tparams, targs, "inferred "); |