Comments (2)
Files should be present in the created CodeMap. e.g. in https://github.com/google/starlark-rust/blob/master/starlark-repl/src/lib.rs#L82 we print the path along with the lines.
I think the spans are incorrect because they are representing a span in an abstract file.
from starlark-rust.
Hmmm that makes sense, I didn't see a way to get the file information, but I'll dig a bit more! I probably just missed something! I'll go ahead and close for now, and re-open if something comes up.
Thanks so much!
from starlark-rust.
Related Issues (20)
- Add some examples of crate usage HOT 2
- Switch starlark-repl to structopt? HOT 3
- Accessing local variables in a Starlark module. HOT 4
- Single quotes within triple quoted strings swallow character following the quote HOT 1
- Make list += inline
- Consider releasing a new version HOT 2
- Does `TypeValues` transition violate Starlark specification? HOT 6
- starlark-rust doesn't build HOT 6
- x[0]=x produces a "recursive data structure" error HOT 1
- crash (stack overflow) when creating a deeply nested data structure HOT 1
- How to implement rust-native functions outside of starlark crate? HOT 2
- Debug print statement in starlark::environment::TypeValues::get_type_value() HOT 4
- Should `FileLoader::load` return `Result<..., Diagnostic>` instead of `Result<..., EvalException>`? HOT 1
- Working with eval'd types for unit tests HOT 2
- FileLoader should ideally use Path/PathBuf's instead of `&str` HOT 3
- Some Error Codes Collide HOT 1
- Question: Unknown cause of mutable borrow in environment HOT 1
- scanner: scanner does not ignore an escaped carriage return HOT 1
- Consider handing the crates to https://github.com/facebookexperimental/starlark-rust/ HOT 20
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 starlark-rust.