when I build the following code and build on UEFN, so UEFN crashed.
using { /Fortnite.com/Devices }
using { /Verse.org/Simulation }
using { /UnrealEngine.com/Temporary/Diagnostics }
class4(t : type) := class:
Property : ?t
Flatten(X:?class4(t2) where t2:type):?t2 =
if (Y := X):
Y.Property
else:
false
hello_world_device := class(creative_device):
OnBegin<override>()<suspends>:void=
X := class4(int){Property := option{1}}
Flatten(option{X}) = X.Property
This code is a modification of what was in the documentation so that it can be built.
At the time I wrote the above code, I received an error message on VSCode as shown in the image