After running the latest install script on a Pi I'm seeing a couple of issues editing function nodes.
Error triangle after editing a function node.
Open a function node
Click the arrow to open Monaco
Make a trivial change such as inserting a space in a string
Click Done, and Done
The node shows an error triangle.
To clear it, open the node again, click Done.
Just the first character typed is sometimes not inserted in the editor.
I can't pin down exactly when this happens, but it's quite frequent. Not confined to a single key, so it's not grit in my keyboard.
There is (and always has been) a small race condition if you close the edit dialog really quickly after making a change - monaco hasn't re-linted the code yet so may still claim there is (or isn't) an error present.
I wonder if that's related to what you're seeing.
Click the arrow to open Monaco
Do you mean you're opening the expanded editor?
If you slow down clicking done each time - give Monaco a chance to sort itself out - do you still see the error?
Yes, it only arises when I make a change in the expanded editor.
Yes. Waited 5 seconds before clicking Done.
I just noticed this red serpentine in the unexpanded editor, ie after changing the string and clicking Done just once. But it's not confined to node.warn lines.
I can reproduce. Very strange; if I enter node.error("hi") in the expanded editor, it's fine. I then click done - and it shows as an error in the unexpanded editor.
But entering node.error... in the unexpanded editor manually is fine.
Definitely something fishy going on. FYI @Steve-Mcl