AnyDSL / MimIR

MimIR is my Intermediate Representation
https://anydsl.github.io/MimIR/
MIT License
46 stars 9 forks source link

type-check let #232

Closed leissa closed 1 year ago

leissa commented 1 year ago

Implemented missing type check for let decl

fodinabor commented 1 year ago

So this should allow .let [a:%core.i32, b:%core.i8] = (48:%core.i32, 3:%core.i8); and would complain about .let [a:%core.i32, b:%core.i8] = (48:%core.i32, 3:%core.i32); ?

leissa commented 1 year ago

So this should allow .let [a:%core.i32, b:%core.i8] = (48:%core.i32, 3:%core.i8); and would complain about .let [a:%core.i32, b:%core.i8] = (48:%core.i32, 3:%core.i32); ?

yes