Rantanen / intercom

Object based cross-language FFI for Rust
MIT License
63 stars 7 forks source link

Use span information from original code #126

Closed Rantanen closed 4 years ago

Rantanen commented 4 years ago

Using span information from the original code allows us to re-target the error messages to point closer to the erroneous user code.

This branch also improves the intercom-attributes test framework to allow UI tests that assert on compiler output instead of macro expansion which was the only test reference we supported before.

Adding more span information and test coverage will be an ongoing effort.

Closes #13