PLTools / Lama

Teaching language LaMa for a compiler course
GNU General Public License v3.0
67 stars 28 forks source link

Internal compiler error #13

Closed eropsergeev closed 3 years ago

eropsergeev commented 3 years ago

Error: Fatal error: exception File "X86.ml", line 619, characters 32-38: Assertion failed

Testcase: import Collection;

fun setMap(m, k, v) { return addMap(m, k, v); case findMap(m, k) of None -> addMap(m, k) | _ -> addMap(removeMap(m, k), k, v) esac }

dboulytchev commented 3 years ago

Fixed in 674214cea