Made "any" primitive

This commit is contained in:
bigguy345 committed 2026-03-06 20:59:39 +02:00
1 parent 831ef6c4f9
commit 2798e54167
1 file changed
+1 -1
@@ -63,7 +63,7 @@ public class TypeInfo {
* The "any" type is universally compatible - it can be assigned to anything
* and anything can be assigned to it.
*/
public static final TypeInfo ANY = new TypeInfo("any", "any", "", Kind.CLASS, null, true, null);
public static final TypeInfo ANY = new TypeInfo("any", "any", "", Kind.CLASS, null, true, null).setPrimitive(true);
public static final TypeInfo NUMBER = new TypeInfo("number", "number", "", Kind.CLASS, double.class, true, null).setPrimitive(true);