deep cleanup is not working with demo for kt and java
See original GitHub issueas per the instruction, running demo/stale_feature_flag_cleanup_demos.py
is expected to do deep clean ups.
Version : polyglot-piranha-0.1.2 , Apple M1 Max, Version 12.5.1
Before the stale_feature_flag_cleanup_demos
class SampleKotlin {
fun print_status_enabled() {
if (experimentation.isToggleEnabled(SAMPLE_STALE_FLAG)) {
println("SAMPLE_STALE_FLAG is enabled")
} else {
println("SAMPLE_STALE_FLAG is disabled")
}
}
fun print_status_disabled() {
if (experimentation.isToggleDisabled(SAMPLE_STALE_FLAG)) {
println("SAMPLE_STALE_FLAG is disabled")
} else {
println("SAMPLE_STALE_FLAG is enabled")
}
}
}
After the stale_feature_flag_cleanup_demos
class SampleKotlin {
fun print_status_enabled() {
if (true) {
println("SAMPLE_STALE_FLAG is enabled")
} else {
println("SAMPLE_STALE_FLAG is disabled")
}
}
fun print_status_disabled() {
if (false) {
println("SAMPLE_STALE_FLAG is disabled")
} else {
println("SAMPLE_STALE_FLAG is enabled")
}
}
}
isn’t it expected to have deep clean ups with piranha-polyglot ?
Issue Analytics
- State:
- Created a year ago
- Comments:6
Top Results From Across the Web
deep cleanup is not working with demo for kt and java - PullAnswer
Yes I observed this issue on ubuntu too. The problem was that the built-in cleanup rules are not being packaged in the wheel....
Read more >Kotlin Cleanup · Issue #10489 · ankidroid/Anki-Android - GitHub
Currently, I'm working on CardTemplatePreviewer.kt . Others also please mention which files they are working on to avoid merge conflicts.
Read more >How to port existing Android applications from Java to Kotlin
This technique will help you convert code on the whole project effortlessly without much effort. The Java files will be converted automatically ...
Read more >A failure occurred while executing org.jetbrains.kotlin.gradle ...
In Android studio go to Analyze menu and click on Inspect Code; check whole project, click OK and wait for the inspection to...
Read more >Coding conventions | Kotlin
Package and class naming rules in Kotlin are quite simple: Names of packages are always lowercase and do not use underscores ( org.example....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Have virtual environment activated before running pip install ., i guess its MAC M1 causing the issue.
rustup show
causes Default host: aarch64-apple-darwinrunning
rustup target add x86_64-apple-darwin
solved the issue of building local source.Executing demos now performs the deep cleaning. Thanks 😃
do you have a virtual environment activated before you tried
pip install .
? If not, can u please try :