baml icon indicating copy to clipboard operation
baml copied to clipboard

Fix/instanceof operator on primitives

Open AntennaeVY opened this issue 2 months ago • 3 comments

Fixes typechecking of instanceof operator only working on classes. Now working on primitive types and enums

Before these gave an error

1 instanceof int
x instanceof MyEnum

Now the typechecker should properly check these are valid

AntennaeVY avatar Oct 16 '25 12:10 AntennaeVY

@AntennaeVY is attempting to deploy a commit to the Boundary Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Oct 16 '25 12:10 vercel[bot]

🔒 Entelligence AI Vulnerability Scanner

No security vulnerabilities found!

Your code passed our comprehensive security analysis.


Thanks for this! Typechecker side looks perfect! As discussed on Discord, we just need the interpreter side implemented, in order to merge this 🎉

imalsogreg avatar Oct 16 '25 18:10 imalsogreg