| [#335] | project: compiler | priority: medium | category: bug | |
|---|---|---|---|---|
| submitter | assigned to | status | date submitted | |
| Burak | Martin | fixed | 2004-05-27 13:49:51.0 | |
| subject | views+overloading=%$# | |||
| code |
object Foo with Application {
def obfruz(c:Char) = true;
def obfruz(s:Seq[Char]) = true;
obfruz("ouch!");
}
|
|||
| what happened | >scalac Foo.scala >scala Foo Exception in thread "main" java.lang.ExceptionInInitializerError at Foo.main(testObj.scala:45) Caused by: java.lang.ClassCastException at Foo$. |
|||
| what expected | the view(s:String):Seq[Char] being applied. |
|||
| [back to overview] | ||||
| Martin edited on 2004-06-30 19:51:58.0 |