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
{{ message }}
Repository navigation
Kotlin explicit_casts: an import alias (import a.b.Bar as Baz) counts as a cast #9425
Found by the SOP-002 gap-cell decoy suite (protocol SOP-002-v1, epic #8863).
Construct: a Kotlin import alias, import a.b.Bar as Baz. The explicit_casts branch \bas\??\s+[A-Z]\w* matches the as Baz of the import.
Snippet:import a.b.Bar as Baz Expected: 0 explicit_casts hits (an import alias binds a name; it converts no value). Actual: 1 hit.
Rule: gitgalaxy/standards/language_standards/languages/kotlin.py, explicit_casts. The import rule counts the same line, so the line is double-counted into two families.
Locked in tests/decoys/test_decoy_kotlin.py as xfail(strict=True).
Activity