mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
"data object" is postponed till 1.9 Related commit in kotlin repo: https://github.com/JetBrains/kotlin/commit/f643cdf90b5c4af9d6988b6167957c9b76f02647 Use `// COMPILER_ARGUMENTS: -XXLanguage:+DataObjects` instead of `// LANGUAGE_VERSION: 1.8` because it's more reliable and less invasive (cherry picked from commit 3a15873dc9191b7da4155b321826fe28c90b40a8) GitOrigin-RevId: 025ea414210241bfc537ebc7bfbf21ce4f07dfb0
5 lines
92 B
Plaintext
5 lines
92 B
Plaintext
// COMPILER_ARGUMENTS: -XXLanguage:+DataObjects
|
|
|
|
sealed class Seal
|
|
data object Foo : Seal()
|