Skip to content

[IfChainToSwitch] when safe mode is enabled, enforce strict matching of predicates in the if-chain; disallows method invocations etc. because converting these can change semantics#5488

Merged
copybara-service[bot] merged 1 commit intomasterfrom
test_865456180
Feb 19, 2026

Conversation

@copybara-service
Copy link
Contributor

@copybara-service copybara-service bot commented Feb 4, 2026

[IfChainToSwitch] when safe mode is enabled, enforce strict matching of predicates in the if-chain; disallows method invocations etc. because converting these can change semantics

@copybara-service copybara-service bot force-pushed the test_865456180 branch 3 times, most recently from 719e471 to a326619 Compare February 4, 2026 19:23
@copybara-service copybara-service bot changed the title [IfChainToSwitch] when safe mode is enabled, use strict matching of predicates in the if-chain; disallows (potentially-mutable) method invocations. [IfChainToSwitch] when safe mode is enabled, enforce strict matching of predicates in the if-chain; disallows method invocations etc. because converting these can change semantics Feb 4, 2026
@copybara-service copybara-service bot force-pushed the test_865456180 branch 3 times, most recently from 474753f to 946fc72 Compare February 6, 2026 15:59
@copybara-service copybara-service bot force-pushed the test_865456180 branch 3 times, most recently from 1f3d5c0 to d6ed9df Compare February 19, 2026 15:10
…of predicates in the if-chain; disallows method invocations etc. because converting these can change semantics

PiperOrigin-RevId: 872395479
@copybara-service copybara-service bot merged commit 4ba14b4 into master Feb 19, 2026
@copybara-service copybara-service bot deleted the test_865456180 branch February 19, 2026 15:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments