Bug in verse compilation status

Summary

My code:

kGameVersion: int = 1

shop_state<public> := class<final><persistable>():

    Version: int = kGameVersion

That code compiles with no errors:

Compilation complete.
Linking complete.
SUCCESS -- Build complete.

But as result i have message in the UEFN that verse was built with 0 Errors. And build result is red.
Sometimes it writes message to console that there are errors during verse compilation. When i check verse build log it is empty.

Changing code to this one fixes the problem:

kGameVersion: int = 1

shop_state<public> := class<final><persistable>():

    Version: int = 1

Please select what you are reporting on:

Unreal Editor for Fortnite

What Type of Bug are you experiencing?

Verse

Steps to Reproduce

Compile code:

kGameVersion: int = 1

shop_state<public> := class<final><persistable>():

    Version: int = kGameVersion

Expected Result

Everything is good. Verse compilation result is green.

Observed Result

Verse compilation result is red, but there are no any compilation errors. See attached image.

Platform(s)

Windows

Upload an image