Please select what you are reporting on:
Unreal Editor for Fortnite
What Type of Bug are you experiencing?
Verse
Summary
If i take this code below from For | Unreal Editor for Fortnite Documentation | Epic Developer Community give this error:
Code:
Values := for ( X->Y := map{ 1=>3, 0=>7 }): X + Y
Error:
First argument to
for must be a generator, X:=range, X:array, or X:map
Steps to Reproduce
Copy and paste this:
Values := for ( X->Y := map{ 1=>3, 0=>7 }): X + Y
See error
Expected Result
“An example of Index-value pairs from a map, Values is an immutable array with the int values 4, and 7”
Observed Result
Give error
Platform(s)
Windows