Comments (3)
The problem is the new lines in 15 through 17 (#eq? tag8n β¦).
The static inference algorithm is not that smart, Iβll fix it.
I assume itβs saying incorrect source code because the Kotlin parser is unable to parse the code
from piranha.
seems that the inferred rule has some syntax issues.
from piranha.
strangely enough, even though the code is in java, when i switch the picker in playground to kotlin and try to infer rule again, i can actually apply the inferred rules and get the correct result!
it just says "Produced syntactically incorrect source code" but it is actually corret. @ketkarameya
from piranha.
Related Issues (20)
- Unintuitive interface - To match a code snippet, we need to set `dry_run` HOT 1
- Explicit ordering for rules
- [Swift] Comma not getting cleaned properly
- Add rules for enum cleanup
- Support multiple `path_to_codebase`s
- , is used as logical and in if/guard statements in swift. Cleanup is required
- Add function scope to swift for cleanup
- Enum scope not supported in Kotlin or Java
- Report error diagnosis for not parseable tree-sitter queries
- Cannot create dummy rule from python api
- [PiranhaAgent] support for TS HOT 3
- PiranhaObjC : Can I use it in the enable modules project ? HOT 4
- Facing issue while creating binary for polygot piranha HOT 1
- Too many logs
- Make concrete syntax agnostic to trailing commas
- can we add string with double quotes in treated function HOT 6
- Do you have any plans to support OpenFeature? HOT 1
- Is there anyway to add the multiple flag names in pom.xml compilerArgs HOT 1
- [WIP] Proper grammar for concrete syntax
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 piranha.