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 listeners: Result.onSuccess { } counts as an event-listener registration #9426
Found by the SOP-002 gap-cell decoy suite (protocol SOP-002-v1, epic #8863).
Construct:kotlin.Result.onSuccess { } / onFailure { }. The listeners branch \.on[A-Z]\w*\s*[({] matches any .onXxx { call, so these count as event-listener registrations.
Snippet:result.onSuccess { } Expected: 0 listeners hits. signal_contracts.py defines listeners as "a registration to receive from an external broadcast"; Result.onSuccess runs its lambda immediately on an in-hand value and registers nothing. Actual: 1 hit. (flow.onEach { } also hits; that one is arguably a registration, so it is not asserted.)
Activity