Open
Description
Hitting swift compiler internal assertion. And the current swift-wasm toolchain is build with assertion enabled so we'll get a crash here.
RangeText="OGGraph.typeIndex(
ctx: context,
body: Body.self,
valueType: OGTypeID(Value.self),
flags: flags,
update: update
"
argument value: %21 = argument of bb2 : $Unmanaged<OGGraphContext> // user: %22
argument type: $Unmanaged<OGGraphContext>
parameter type: $OGGraphContext
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Tracked via swiftwasm/swift#5569
Update: This will also effect Linux platform with assertion enabled toolchain(eg. nightly toolchain)