Jails icon indicating copy to clipboard operation
Jails copied to clipboard

Implement goto for enum literals

Open BlankTiger opened this issue 4 months ago • 1 comments

Implementation handles following goto scenarios for enum literals:

  • procedure calls: SDL_CreateGPUDevice(.SPIRV | .MSL | .DXIL, ...)
  • struct field defaults/declarations: se: Some_Enum = .A
  • variable assignments: flags = .SPIRV | .MSL and ident.parent.kind = .UNARY_OPERATION
  • comparison operations: value == .SOME_ENUM and value != .OTHER_ENUM

BlankTiger avatar Sep 05 '25 09:09 BlankTiger

Thank you. I will try to review this PR soon.

SogoCZE avatar Oct 05 '25 16:10 SogoCZE