| [#486] | project: compiler | priority: low | category: bug | |
|---|---|---|---|---|
| submitter | assigned to | status | date submitted | |
| Burak | _ | _ | 2005-11-14 08:47:34.0 | |
| subject | [inconsistency] boot/scalac and main/scalac differ in | |||
| code |
change the return type in
sources/scala/collection/mutable/SynchronizedMap.scala to `super.type' and run make
<pre>
override def clone(): super.type = synchronized {
super.clone();
}
</pre> |
|||
| what happened | no error (the library is compiled with boot/scalac), but if you try to compile with main/scalac (also if you *us\
e* SynchronizedMap as a mixin), you get the following error:
|
|||
| what expected | consistent behavior of the two scalac's | |||
| [back to overview] | ||||