aboutsummaryrefslogtreecommitdiff
path: root/tests/neg/inlinevals.scala
Commit message (Collapse)AuthorAgeFilesLines
* Add inline for valsMartin Odersky2016-10-021-0/+24
- allow inline as an alternative to final for vals (final is retained for backwards compatibility for now) - allow inline for parameters - check that rhs of inline value has a constant type - check that arguments to inline value parameters have constant type - check that inline members are not deferred - make inline members effectively final