diff options
author | Paul Phillips <paulp@improving.org> | 2010-06-13 16:17:05 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-06-13 16:17:05 +0000 |
commit | d3a77021622a2ab214020cc9186480a1fe3e850c (patch) | |
tree | 7e1977085078206f9fa2dd66bc5ee2b974cb10d1 /test/files | |
parent | 436a7d8636498d855a6792c2d1597d13e1c0ee4c (diff) | |
download | scala-d3a77021622a2ab214020cc9186480a1fe3e850c.tar.gz scala-d3a77021622a2ab214020cc9186480a1fe3e850c.tar.bz2 scala-d3a77021622a2ab214020cc9186480a1fe3e850c.zip |
Made getters treated more like private members ...
Made getters treated more like private members when debating whether to
inline. Closes #3420, review by dragos.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/bug3420.flags | 1 | ||||
-rw-r--r-- | test/files/pos/bug3420.scala | 5 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/bug3420.flags b/test/files/pos/bug3420.flags new file mode 100644 index 0000000000..ea03113c66 --- /dev/null +++ b/test/files/pos/bug3420.flags @@ -0,0 +1 @@ +-optimise -Xfatal-warnings
\ No newline at end of file diff --git a/test/files/pos/bug3420.scala b/test/files/pos/bug3420.scala new file mode 100644 index 0000000000..0fc56ed67b --- /dev/null +++ b/test/files/pos/bug3420.scala @@ -0,0 +1,5 @@ +class C { + val cv = Map[Int, Int](1 -> 2) + lazy val cl = Map[Int, Int](1 -> 2) + def cd = Map[Int, Int](1 -> 2) +} |