swift
3596df7e - Print attributes on enum cases correctly (like 'indirect') (#26311)

Commit
6 years ago
Print attributes on enum cases correctly (like 'indirect') (#26311) Previously they were just skipped if enum elements weren't exploded into their own individual lines, since the ASTPrinter assumed they'd be present on the EnumCaseDecl. This led to miscompiles when using a module interface for an enum with indirect cases, since they'd be printed as non-indirect cases. rdar://problem/53329452
Author
Parents
Loading