es-meta / esmeta

ECMAScript Specification (ECMA-262) Metalanguage
BSD 3-Clause "New" or "Revised" License
175 stars 12 forks source link

Minor fix related to integer #205

Closed taxor03 closed 4 months ago

taxor03 commented 5 months ago

This PR is for generalized fix in Integer related stuffs including #203, #204.

taxor03 commented 5 months ago

It seems there's an issue with the floor operator in the compiler.scala file. Specifically, in the isInteger function, the intended check is is(x, floor), but an error is being encountered – [InterpreterError] wrong type for the operator floor: #2156. This issue might be related to a type mismatch.

jhnaldo commented 4 months ago

I restored the accidentally deleted dev-integer branch.

jhnaldo commented 4 months ago

I fixed this issue in #213.