Comments (3)
Can't reproduce, both produce correct trees for me
from tree-sitter-python.
Same, both parse correctly for me with the current master. I can see this being a problem if there is mixed indentation if spaces and tabs (you should upload an example as an attachment to preserve those), but not sure if we can do much about mixed indentation.
from tree-sitter-python.
but not sure if we can do much about mixed indentation.
We really can't, that isn't valid python to begin with and wouldn't run
from tree-sitter-python.
Related Issues (20)
- Missing git tag for v0.20.2 HOT 2
- Two nodes with kind "lambda" in 0.20.2 HOT 1
- Cannot compile due to call to undeclared function 'static_assert' HOT 7
- Comment parsing HOT 2
- 3.12 "`type`" soft keyword (PEP 0695) HOT 1
- Extra indent when using an open bracket/parenthesis in string literal HOT 1
- Helping injected languages parse docstrings HOT 1
- Parameter highlight group doesn't capture references in body HOT 6
- Trailing comma in Annotated causes an error
- bug: Bad parse/behavior with docstring containing extraneous "-character HOT 1
- feature: doctest support HOT 2
- bug: Fail to parse type expression
- bug: Fail to parse from here but the online playground is fine HOT 1
- bug: release for 0.21.0 HOT 11
- bug: Special case not managed by the parser, when an expression is split without a backslash and the second line is dedented.
- bug: arguments in Callable not marked as types HOT 3
- bug: `.1l` is not valid in python2 HOT 3
- feature: pre-compiled binary wheels for M chip macOS (arm64) HOT 8
- bug: CRLF line ending weirdness on checkout HOT 3
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 tree-sitter-python.