Closed
Description
When a variable or class name isn't found, the VM gives an "Unexpected primary symbol" error, which is very unhelpful. Better would be something like "Undefined symbol" or something like that.
"Unexpected primary symbol" also pops up when trying to access a private name across library boundaries; ideally, that would be mentioned in the error as well.