diff options
author | Paul Phillips <paulp@improving.org> | 2012-05-11 10:25:34 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2012-05-11 10:26:29 -0700 |
commit | 807567230852bcadb98a91322bd348aae764801f (patch) | |
tree | e7efba8909d8c50b76a343192e6a0eb277c61527 /test/files/pos/t2764/Use.scala | |
parent | 2422b064e7a52c04dfb2239fc8e7b9ffbab24251 (diff) | |
download | scala-807567230852bcadb98a91322bd348aae764801f.tar.gz scala-807567230852bcadb98a91322bd348aae764801f.tar.bz2 scala-807567230852bcadb98a91322bd348aae764801f.zip |
Recognize java enums as constants from source.
Fixed up one of the mismatches between how java source is modeled
and how java bytecode is modeled. We should get the rest of them
too. Closes SI-2764.
Diffstat (limited to 'test/files/pos/t2764/Use.scala')
-rw-r--r-- | test/files/pos/t2764/Use.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/t2764/Use.scala b/test/files/pos/t2764/Use.scala new file mode 100644 index 0000000000..8cf8102709 --- /dev/null +++ b/test/files/pos/t2764/Use.scala @@ -0,0 +1,6 @@ +package bippy + +class Use { + @Ann(Enum.VALUE) + def foo {} +} |