KT-44378 don't generate no-arg constructor for sealed classes

This commit is contained in:
Dmitry Petrov
2021-01-15 18:58:10 +03:00
committed by TeamCityServer
parent ee93efc19d
commit 0c463d3260
6 changed files with 27 additions and 1 deletions
@@ -0,0 +1,3 @@
// !LANGUAGE: +AllowSealedInheritorsInDifferentFilesOfSamePackage
sealed class Test(val x: Int = 0)