You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 20, 2025. It is now read-only.
Implementation restriction: nested inline methods are not supported
Which I suspect is Ultraviolet, not Scala.
The use case for allowing this is that you can only declare array lengths with literals, but it would be nice to be able to declare the length in one place.
inline def count = 5
val islands: array[count, vec3] = ... // doesn't work
...
while i < count do
...
If you nest inlines, you get this error:
Implementation restriction: nested inline methods are not supportedWhich I suspect is Ultraviolet, not Scala.
The use case for allowing this is that you can only declare array lengths with literals, but it would be nice to be able to declare the length in one place.