-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't crash the trim analyzer if it finds unrecognized nodes in the i…
…nput (#88836) New versions of the compiler will introduce new nodes and values. The analyzer can never be 100% in sycn with the compiler, so it needs to be able to gracefully handle nodes it doesn't know anything about. Change the several throws to just Debug.Fail. For end-users if we hit unrecognized node, we will effectively ignore that part of the code. So not 100% precise, but the analyzer will never be 100% regardles. This is in response to #88684, but we can't add tests for it yet because the necessary compiler changes are in Preview 6, the repo is still on Preview 5.
- v9.0.1
- v9.0.0
- v9.0.0-rc.2.24473.5
- v9.0.0-rc.1.24431.7
- v9.0.0-preview.7.24405.7
- v9.0.0-preview.6.24327.7
- v9.0.0-preview.5.24306.7
- v9.0.0-preview.4.24266.19
- v9.0.0-preview.3.24172.9
- v9.0.0-preview.2.24128.5
- v9.0.0-preview.1.24080.9
- v8.0.12
- v8.0.11
- v8.0.10
- v8.0.8
- v8.0.7
- v8.0.6
- v8.0.5
- v8.0.4
- v8.0.3
- v8.0.2
- v8.0.1
- v8.0.0
- v8.0.0-rc.2.23479.6
- v8.0.0-rc.1.23419.4
- v8.0.0-preview.7.23375.6
1 parent
84e09f9
commit 0f56e16
Showing
3 changed files
with
32 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters