| [#20] | project: compiler | priority: medium | category: bug | |
|---|---|---|---|---|
| submitter | assigned to | status | date submitted | |
| Stephane | Martin | fixed | 2003-05-27 14:10:42.0 | |
| subject | scalac.ApplicationError | |||
| code |
object Exceptions {
class CubeException(s: String) extends java.lang.RuntimeException(s);
def main(args: Array[String]) =
System.out.println(new CubeException("test"));
}
|
|||
| what happened | Exception in thread "main" scalac.ApplicationError: method type required: OverloadedType([java.lang.RuntimeExcep\ tion,java.lang.RuntimeException,java.lang.RuntimeException,java.lang.RuntimeException],[MethodType([],TypeRef(Si\ ngleType(SingleType(ThisType( |
|||
| what expected | CubeException: test | |||
| [back to overview] | ||||