inline var foo: Should not be allowed, it will break after the first assignment. Possibly for lazy val too.inline class Foo: Should not be allowed.inline object Foo: Should have a better error message. Currently _right-hand side of inline object Foo must be a constant expression or a function_.inline type Foo: Should not be allowed, it makes not sense.For the record: We discussed an idea that inline class may be a new syntax
for value class.
On 12 May 2017 16:01:51 Nicolas Stucki notifications@github.com wrote:
- [ ]
inline var foo: Should not be allowed, it will break after the
first assignment. Possibly forlazy valtoo.- [ ]
inline class Foo: Should not be allowed.- [ ]
inline object Foo: Should have a better error message. Currently
_right-hand side of inline object Foo must be a constant expression or a
function_.- [ ]
inline type Foo: Should not be allowed, it makes not sense.--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/lampepfl/dotty/issues/2421
Most helpful comment
For the record: We discussed an idea that inline class may be a new syntax
for value class.
On 12 May 2017 16:01:51 Nicolas Stucki notifications@github.com wrote: