UnrealScript-Language-Service icon indicating copy to clipboard operation
UnrealScript-Language-Service copied to clipboard

[Bug]: Declaring static array size from variable fails in some cases

Open tuokri opened this issue 8 months ago • 1 comments

Describe the bug

Couple issues with static arrays:

  • The extension does not understand EnumType.EnumCount syntax when declaring static array sizes.
  • Certain static array size declarations that the extension understands report a false error if the array is a struct member.

Screenshots

image

tuokri avatar Oct 10 '23 17:10 tuokri

Thanks, will have to add these to current tests :)

see also: https://github.com/EliotVU/UnrealScript-Language-Service/blob/22b6fbb79476f374c2d7b7c5884cacb7bc1e946c/server/src/UC/test/enum/EnumTest.uc

EliotVU avatar Oct 13 '23 10:10 EliotVU