[spec] Slight simplification to Rectype_ok2 judgement#2148
Conversation
|
The simplification looks correct to me. I'm curious on the choice of type indices there for |
|
Yes, You are totally right about the abstract syntax of modules not doing that! That's an oversight, will fix. (FWIW, the binary format indeed applies the limit to the number of type groups. So you can define more than 2^32 types in a module, making the upper ones inaccessible by Wasm syntax. Doesn't really do any harm, though.) |
|
Oops, I think there's some test expects that were not updated (frontend or sth). |
|
Yeah, on it, but I'm on the train and the connection is horrible. |
Remove the redundant typeidx on the Rectype/Subtype_ok2 judgements.
@raoxiaojia, PTAL.
@zilinc, FYI.