You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
data classUserInfoOpenID(
...
/** * The user's given name(s) or first name(s). * _Might be provided when a [name] claim is present._ * @since profile*/valgiven_name:String?,
is flagged as:
LambdaParameterNaming - [Lambda parameter names should match the pattern: [a-z][A-Za-z0-9]*|_] at Heroku\backend\endpoint\src\main\kotlin\net\twisterrob\cinema\cineworld\backend\endpoint\auth\data\UserInfoOpenID.kt:35:6
Steps to Reproduce
@Test
fun`doesn't report invalid class constructor parameters`() {
val code =""" data class C(val _invalid: String)""".trimIndent()
assertThat(LambdaParameterNaming().compileAndLint(code))
.isEmpty()
}
@Test
fun`doesn't report invalid function parameters`() {
val code =""" fun f(val _invalid: String) = Unit""".trimIndent()
assertThat(LambdaParameterNaming().compileAndLint(code))
.isEmpty()
}
Expected Behavior
No findings.
Observed Behavior
is flagged as:
Steps to Reproduce
Context
Could be caused by #5212 cc @VovaStelmashchuk @cortinico.
In the original code it was like this (notice the override vs the delegated method):
Your Environment
The text was updated successfully, but these errors were encountered: