Suppress most of unused parameter warnings
This commit is contained in:
@@ -21,7 +21,8 @@ val builtInsHeader = """@file:Suppress(
|
||||
"MUST_BE_INITIALIZED_OR_BE_ABSTRACT",
|
||||
"EXTERNAL_TYPE_EXTENDS_NON_EXTERNAL_TYPE",
|
||||
"PRIMARY_CONSTRUCTOR_DELEGATION_CALL_EXPECTED",
|
||||
"WRONG_MODIFIER_TARGET"
|
||||
"WRONG_MODIFIER_TARGET",
|
||||
"UNUSED_PARAMETER"
|
||||
)
|
||||
"""
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2010-2018 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Copyright 2010-2020 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
||||
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
||||
*/
|
||||
|
||||
@@ -8,7 +8,8 @@
|
||||
"MUST_BE_INITIALIZED_OR_BE_ABSTRACT",
|
||||
"EXTERNAL_TYPE_EXTENDS_NON_EXTERNAL_TYPE",
|
||||
"PRIMARY_CONSTRUCTOR_DELEGATION_CALL_EXPECTED",
|
||||
"WRONG_MODIFIER_TARGET"
|
||||
"WRONG_MODIFIER_TARGET",
|
||||
"UNUSED_PARAMETER"
|
||||
)
|
||||
|
||||
package kotlin
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
// Auto-generated file. DO NOT EDIT!
|
||||
@file:Suppress("NON_ABSTRACT_FUNCTION_WITH_NO_BODY")
|
||||
@file:Suppress("NON_ABSTRACT_FUNCTION_WITH_NO_BODY", "UNUSED_PARAMETER")
|
||||
|
||||
package kotlin
|
||||
|
||||
|
||||
Reference in New Issue
Block a user