-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: False Positive "include_file_not_found"
See #59888 for an explanation of the bug this commit fixes. Incidentally, the bug prevents a "recursive_include_file" error from being reported when a file includes itself with a quoted "include" field value. This fix happens to also correct that so it is no longer the case. Introduce code to handle quotations delimiting an "include" field value. The code removes the quotes before the URI resolution is attempted. This will prevent quotations from being interpreted as a part of the URI to resolve. Also, add tests to verify these code changes fix the bug. [email protected], [email protected], [email protected] Bug: #59888 Change-Id: Idc921652bf356889142c6e38b0cdec5e66825d36 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/405180 Auto-Submit: Rohit Saily <[email protected]> Commit-Queue: Keerti Parthasarathy <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]> Reviewed-by: Keerti Parthasarathy <[email protected]>
- Loading branch information
1 parent
5ec1002
commit cc5612e
Showing
2 changed files
with
63 additions
and
1 deletion.
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