Closed
Description
-
inline var foo
: Should not be allowed, it will break after the first assignment. Possibly forlazy 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.