diff options
author | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2006-01-26 09:32:34 +0000 |
---|---|---|
committer | Gilles Dubochet <gilles.dubochet@epfl.ch> | 2006-01-26 09:32:34 +0000 |
commit | dceda6e34775cf59ebcd94b7d47427a8e67c3e25 (patch) | |
tree | d4df8cd5c865c01c767ef1888608a1a299ebddc5 /test/files/neg/bug515.scala | |
parent | 3d222bdcde70fd1c87bab840ae521bf51a811d5d (diff) | |
download | scala-dceda6e34775cf59ebcd94b7d47427a8e67c3e25.tar.gz scala-dceda6e34775cf59ebcd94b7d47427a8e67c3e25.tar.bz2 scala-dceda6e34775cf59ebcd94b7d47427a8e67c3e25.zip |
Added Martin's additional test cases.
Diffstat (limited to 'test/files/neg/bug515.scala')
-rwxr-xr-x | test/files/neg/bug515.scala | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/files/neg/bug515.scala b/test/files/neg/bug515.scala new file mode 100755 index 0000000000..34f965231c --- /dev/null +++ b/test/files/neg/bug515.scala @@ -0,0 +1,8 @@ +object Test extends Application { + class Truc { + def getMachin() = "machin" + def getMachinAsTruc() = this + } + val file = new Truc + val parent: Truc = file.getMachin +} |