slynch8 / 10x

10x IDE/Editor
190 stars 34 forks source link

`enum class` doesn't register as a field when declared within struct and used immediately. #1591

Open skejeton opened 1 year ago

skejeton commented 1 year ago
struct Test {
  enum class Enum {
    VAL1,
    VAL2,
    VAL3
  } member;
}

Result: image

It can be worked around if it's not used immediately: image

skejeton commented 1 year ago

In first case, autocomplete doesn't recognize it as a member as well.