Haskell-Things / ImplicitCAD

A math-inspired CAD program in haskell. CSG, bevels, and shells; 2D & 3D geometry; 2D gcode generation...
https://implicitcad.org/
GNU Affero General Public License v3.0
1.33k stars 141 forks source link

Fix pending undefined test #425

Closed sorki closed 2 years ago

sorki commented 2 years ago

Was disabled due to

  1) expression parsing, literals, undefined, accepts undef
       expected: Right (LitE Undefined)
        but got: Right (LitE Undefined)

caused by custom Eq OVal where OUndefined == OUndefined = False which is now corrected to OUndefined == OUndefined = True.

Tested vs openscad where if(undef == undef) echo("YES"); is allowed and works as expected.