YarnSpinnerTool / YarnSpinner

Yarn Spinner is a tool for building interactive dialogue in games!
https://yarnspinner.dev
MIT License
2.3k stars 201 forks source link

Whitespace within ```title:``` doesn't give a reasonable error message #352

Closed julhe closed 1 year ago

julhe commented 1 year ago

What is the current behavior? A node like this:

title: Title with Whitespace
---
Some text.
===

will not compile, but also don't point to the specific location of the error.

Please provide the steps to reproduce, and if possible a minimal demo of the problem:

grafik

with no information on where the issue occured.

What is the expected behavior?

A explicit error message of where this error occured.

Please tell us about your environment:

Other information

N/A

desplesda commented 1 year ago

Fixed in c3daf30d2baeea3e1dd4a3f2f48f7fc45c4771f8; an updated version of the VS Code extension that contains this fix is available in pre-release.