#1880·penrose

Code not compile but works in online editor

Author: ningbioCreated Feb 4, 2025Updated Sep 28, 2025

Describe the bug Hi, I'm using 3.2.0 in vanilla-js and notice while it works fine in online editor, penRose fails to compile with any predicates that has Number parameter. my predicate is like:

predicate calloutTest(Callout callout, BaseObject object, Number x)

error is like: Type Number (at line 11, column 40 of Domain program) does not exist. Possible types are: String, Shape, BaseObject, Callout, Point (anonymous) @ test.html:160

pls lmk what could be the possible issue here?

thank you!

Ning