summaryrefslogtreecommitdiff
path: root/sources/scalac
diff options
context:
space:
mode:
Diffstat (limited to 'sources/scalac')
-rw-r--r--sources/scalac/backend/msil/TypeCreator.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/sources/scalac/backend/msil/TypeCreator.java b/sources/scalac/backend/msil/TypeCreator.java
index 5000b96511..de0bd4a264 100644
--- a/sources/scalac/backend/msil/TypeCreator.java
+++ b/sources/scalac/backend/msil/TypeCreator.java
@@ -319,6 +319,8 @@ final class TypeCreator {
specialAttrs.add(defs.SCALA_VOLATILE_CONSTR);
specialAttrs.add(defs.getClass("scala.SerialVersionUID")
.primaryConstructor());
+ specialAttrs.add(defs.getClass("scala._trait_")
+ .primaryConstructor());
} // init()
/*
@@ -910,7 +912,7 @@ final class TypeCreator {
method = getMethod0(sym);
} catch (Throwable e) {
printMapping(sym, symbols2methods);
- throw Debug.abort(e);
+ throw Debug.abort(Debug.show(sym), e);
}
return method;
}