Skip to content

Limit the narrow-to-fresh rule added with boolean literals to only boolean literals (#27274)#27319

Merged
weswigham merged 1 commit into
microsoft:release-3.1from
weswigham:port-frshness-propegation-limiter
Sep 24, 2018
Merged

Limit the narrow-to-fresh rule added with boolean literals to only boolean literals (#27274)#27319
weswigham merged 1 commit into
microsoft:release-3.1from
weswigham:port-frshness-propegation-limiter

Conversation

@weswigham
Copy link
Copy Markdown
Member

@weswigham weswigham commented Sep 24, 2018

Ports #27274 to release-3.1.

…olean literals (microsoft#27274)

* Remove the narrow-to-fresh rule added with boolean literals

* Revert "Remove the narrow-to-fresh rule added with boolean literals"

This reverts commit 9f96fe5.

* Only apply freshness to booleans for now

* Add largeish example from issue

* Should be AND not OR

* Add minor improvements suggested by @ahejelsberg

* Reorder conditional a bit
@weswigham weswigham merged commit dd9d5d1 into microsoft:release-3.1 Sep 24, 2018
@weswigham weswigham deleted the port-frshness-propegation-limiter branch September 24, 2018 20:51
@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants