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)
- 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
- Test
- [PiranhaJS] Proposals for Enhancing PiranhaJS: Tree Sitter Integration, Support for Stage 2 Proposals, and Class Variable Cleanup HOT 2
- delete_all_statements_after_return isn't cleaning up multiple lines after return HOT 3
- PiranhaConfigurationException: Piranha:FlagName is missing HOT 1
- [Kotlin] Returning a lambda with multiline code creates syntax errors HOT 7
- Various styles of flag definitions
- Treatment of enum based feature flags HOT 2
- Remove emptied lines instead of emptying only the contents of the line HOT 1
- Seeking feedback on feature flag cleanup approach with the Piranha framework HOT 1
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.