Comments (1)
It's weird: The span resolution code of SourceMap
should've either returned a single structured line that doesn't contain any line breaks or it should've returned two structured lines. Here it seems like it returned a single structured line that does contain a (trailing) line break which the diagnostic formatting code obviously can't and shouldn't need to handle correctly.
It's quite possible that the parser created a diagnostic with a span that includes a trailing line break (which is highly discouraged) but the span resolver should be pretty robust and should've been able to handle that (I've extensively tested that) if my theory checks out that is.
Needs investigation.
from lushui.
Related Issues (20)
- Create bare-bones feature system starting with feature `internals`
- metadata format: parse identifiers in value position as text HOT 1
- Improvements to the golden UI tester
- Simple refactors
- Add another positive UI test for re-exports HOT 1
- LLVM backend HOT 1
- Putting `@deprecated` on the program entry `main` crashes the compiler HOT 2
- Introduce the concept of private and public dependencies
- Vendor LLVM for portability, reproducability and bleeding-edge development
- Further progress on the LLVM backend
- Support compilation of single source files from stdin HOT 1
- Further progress on the Cranelift backend
- Further progress on the language server
- Change the “primary key” of package components from { type, name } to just { name }
- Call stack traces for arbitrary types
- Improve the golden tester even further
- Allow closing brackets to be less indented than the preceeding contents of the bracketed entity HOT 1
- Namespaced literals: Internal error expression leaks into diagnostic
- Type mismatch involving record literal whose type hasn't been type-checked leads to a crash
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lushui.