Skip to content

Inline val does not allow explicit type #8841

Closed
@edolgy

Description

@edolgy
inline val log1 : Boolean = false // Fails with: type of inline must be a known value

inline val log2  = false // Works fine

May be there is a reason for this, but from usage prospective it is very confusing

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions