What is the reason that `inline class` must be at ...
# eap
m
What is the reason that
inline class
must be at the outer scope? Is that a temporary limitation?
Copy code
class User {	
	inline class Id(val raw: String) // Inline classes are only allowed on top level
}
o
@mikhail.zarechenskiy
m
Yes, this is a temporary limitation, initially, there were several questions about capturing outer generics but with the current design we'll probably allow inline classes inside other declarations
m
Awesome, looking forward to it! It's a great feature, appreciate your work 👍