-
### Use case
Dart, Kotlin and Swift support Union classes but there is no option to generate safe code for now using pigeon package
### Proposal
It will be very useful to have an opportunity to ge…
-
**Is your feature request related to a problem? Please describe.**
When using enum sum types in Rust like
```rust
pub enum HttpBody {
Text(String),
Bytes(Vec),
BytesStream,
Fo…
-
The goals of this proposal are:
* Introduce the concept of a sealed interface.
* Allow more freedom to sealed class, unify both sealed interface and sealed class as the same concept.
* Seamlessly…
-
**Describe the bug**
Hi,
Need version 4 for sealed classes. Any chance you would be able to just push release 4 last time?
Thanks so much for this great library
-
ECJ compiles this code while javac rejects it with `error: illegal combination of modifiers: sealed and non-sealed`:
```
public sealed class X permits Y {
}
sealed non-sealed class Y extends …
-
In Dart 3, the introduction of sealed classes is causing an issue with Dart macros. When attempting to use a macro with a sealed class, the generated code includes an unnecessary abstract keyword, lea…
-
Hey during using this awesome library, I noticed a thing that bugs me a bit.
a parser rule that has multiple options
```
document: rule EOF;
rule
: OPTIONA
| OPTIONB;
```
generates int…
-
Take this sample:
```dart
sealed class A {}
final class B extends A {}
```
![image](https://github.com/user-attachments/assets/24e5f9f6-3d63-4b63-b3a1-19a168730d4f)
![image](https://github…
-
**What is your use-case and why do you need this feature?**
I have an open interface, say `MyOpenInterface`.
I have an implementation of this open interface which is sealed i.e. `sealed class My…
-
The following code fails on compilation:
```kotlin
@Serializable
sealed class CTest {
abstract val c: Collection
@Serializable
class AsList(override val c: List…