Skip to content

Missing errors for inline var, inline object, inline class and inline type. #2421

Closed
@nicolasstucki

Description

@nicolasstucki
  • 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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions