mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
BaseState object property must allow only base state as parent type, add test for Compound RC serialization
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
/*
|
||||
* Copyright 2000-2017 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
*/
|
||||
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.openapi.roots
|
||||
|
||||
import com.intellij.openapi.components.BaseState
|
||||
@@ -9,5 +7,5 @@ import com.intellij.util.xmlb.annotations.Attribute
|
||||
|
||||
class LanguageLevelState : BaseState() {
|
||||
@get:Attribute("LANGUAGE_LEVEL")
|
||||
var languageLevel: LanguageLevel? by property<LanguageLevel?>()
|
||||
var languageLevel by enum<LanguageLevel>()
|
||||
}
|
||||
Reference in New Issue
Block a user