aboutsummaryrefslogtreecommitdiff
path: root/src/dotty/tools/dotc/transform/Literalize.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-08-23 23:09:15 +0200
committerMartin Odersky <odersky@gmail.com>2015-08-23 23:09:15 +0200
commit5710272caea25014ac36517543a85f07c5f801d1 (patch)
treefc2b43f46e28cf31919359a50f87866503bf2cde /src/dotty/tools/dotc/transform/Literalize.scala
parentc0001fb3b3dfee3b16af608983a328df9c39b900 (diff)
downloaddotty-5710272caea25014ac36517543a85f07c5f801d1.tar.gz
dotty-5710272caea25014ac36517543a85f07c5f801d1.tar.bz2
dotty-5710272caea25014ac36517543a85f07c5f801d1.zip
Make final vals have constant types if rhs is a constant.
This duplicates scalac behavior. Awaiting inline, this is a stopgap because we need this to work for the bootstrap. Once we have inline (and a migration tool that rewrites final to final inline) we can migrate this functionality over to inline values.
Diffstat (limited to 'src/dotty/tools/dotc/transform/Literalize.scala')
0 files changed, 0 insertions, 0 deletions