src/component_transforms.rs | 15 ++-- src/lib.rs | 23 +++++- src/typescript.rs | 59 +++++++++++-- src/wasm.rs | 22 +---- tests/error-fixtures.rs | 142 ++++++++++++++++++++++++++++++++ tests/error-fixtures/bad-frontmatter.err | 2 + tests/error-fixtures/bad-frontmatter.mdo | 6 ++ tests/error-fixtures/bad-statement.err | 2 + tests/error-fixtures/bad-statement.mdo | 1 + tests/error-fixtures/bad-template.err | 2 + tests/error-fixtures/bad-template.mdo | 1 + tests/error-fixtures/close-without-open.err | 2 + tests/error-fixtures/close-without-open.mdo | 3 + tests/error-fixtures/inline-unclosed.err | 2 + tests/error-fixtures/inline-unclosed.mdo | 1 + tests/error-fixtures/mismatched-close.err | 3 + tests/error-fixtures/mismatched-close.mdo | 3 + tests/error-fixtures/unclosed-tag.err | 2 + tests/error-fixtures/unclosed-tag.mdo | 2 + tests/fixtures/25-code-block-import.marko | 8 +- tests/fixtures/29-layout-all-components.marko | 6 +- wasm.sh | 2 +- 22 files changed, 259 insertions(+), 50 deletions(-)