diff options
author | schinz <schinz@epfl.ch> | 2004-02-09 10:15:01 +0000 |
---|---|---|
committer | schinz <schinz@epfl.ch> | 2004-02-09 10:15:01 +0000 |
commit | 7735e5b99362c4641508f40c9f1e92052a12038b (patch) | |
tree | 68fdf8e27831dbba45c676f5a8ddb5af57f6aac8 /sources | |
parent | 39a7f8363f5540dd185364e9eca20498fce62875 (diff) | |
download | scala-7735e5b99362c4641508f40c9f1e92052a12038b.tar.gz scala-7735e5b99362c4641508f40c9f1e92052a12038b.tar.bz2 scala-7735e5b99362c4641508f40c9f1e92052a12038b.zip |
- bug fix: do not include the path in the Sourc...
- bug fix: do not include the path in the SourceFile attribute
Diffstat (limited to 'sources')
-rw-r--r-- | sources/scalac/backend/jvm/GenJVM.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/scalac/backend/jvm/GenJVM.java b/sources/scalac/backend/jvm/GenJVM.java index 9a4b312c00..a4a134654e 100644 --- a/sources/scalac/backend/jvm/GenJVM.java +++ b/sources/scalac/backend/jvm/GenJVM.java @@ -107,7 +107,7 @@ class GenJVM { public void translate(Unit unit) { try { for (int i = 0; i < unit.body.length; ++i) - gen(Context.EMPTY.withSourceFileName(unit.source.toString()), + gen(Context.EMPTY.withSourceFileName(unit.source.getShortName()), unit.body[i]); } catch (JCode.OffsetTooBigException e) { throw global.fail(e); |