swift
b435cf33 - IRGen: fix a problem `conver_function` in a payload of a statically initialized enum

Commit
2 years ago
IRGen: fix a problem `conver_function` in a payload of a statically initialized enum This was a stupid oversight. The `flatten` flag needs to be passed through `convert_enum` in `irgen::emitConstantValue`. Fixes a compiler crash. rdar://113942221
Author
Parents
Loading