|
[#617] |
project: compiler |
priority: low |
category: missing feature |
|
submitter |
assigned to |
status |
date submitted |
|
Nikolay |
Martin |
fixed |
2006-05-30 12:00:03.0 |
subject |
[contrib #138] confusing error message |
code |
class Foo;
object Foo extends Application {
def bar(x: Foo) = {}
bar(this);
}
|
what happened |
Foo.scala:4 error: type mismatch;
found : Foo
required: Foo
bar(this);
^
one error found
|
what expected |
easier to understand error message, for example something like this:
Foo.scala:4 error: type mismatch;
found : Foo$object
required: Foo
bar(this);
^
one error found
|
[back to overview] |