https://www.boundaryml.com logo
🟡 Issues with BAML server using `null` and `≠` sy...
# questions
a
I am watching this episode and spotted two interesting things on Greg's screen (1st img) and wanted to try it out 1. the support of variable
null
2. The equal sign can be expressed as
≠
instead of
!=
However, both of them does not work as expected. 1. The BAML server doesn't recognise
null
, but Greg's screen doesn't have that issue, do I need to set something up? Tho when I run the test, it runs fine (img2) 2. when I use
≠
symbol, the
test xxx
button disappear, the BAML server entered error state. Then I change it back to
!=
, but the server is still in the same error state forever and I had to restart the project to fix it. (img3) 2a. why it works for Greg but not for me, is it a setup thing? 2b. Because I am not familar with BAML's syntax, I often type something that result in BAML server crashing and had to restart the IDE to fix it. Is there a easier way to restart the server so once the code is fixed - it automatically restart? BAML: 0.216.0
Attaching the imges
v
1. the support of variable null > can you try
none
instead of
null
really quick? I thought we patched this, but i wonder if we missed this! 2. The equal sign can be expressed as ≠ instead of != > this is sadly just an extension greg uses for rendering :), not syntax 🥲
a
@Vaibhav (BAML 🐑) 1. none gives no server type check error and also runs test fine 2. makes sense. In regards to the server crushing tho, is there a way I can get it restart without restarting the IDE?
v
I'll have to debug and see what causes the server to crash! Currently what i often do (on mac): cmd + shift + p (open editor command bar) > reload windows this basically refreshes everything w/o quitting
2 Views