0c8ded72dc
This adds FileUriConstantExpression, a subclass of ConstantExpression, to support correct file offset of annotations for augmentations and patches. The FileUriExpression is used to carry the file uri of the expression before constant evaluation. TEST=general/patch_annotations Change-Id: I0dc8a0cb97dd530fd1960785d38c2d5e4883c3dd Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/311660 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Jens Johansen <jensj@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com>
14 lines
239 B
JSON
14 lines
239 B
JSON
{
|
|
"none": {
|
|
"comment:0": "This adds to the default libraries found in the platform.",
|
|
"libraries": {
|
|
"test": {
|
|
"patches": [
|
|
"patch_lib.dart"
|
|
],
|
|
"uri": "origin_lib.dart"
|
|
}
|
|
}
|
|
}
|
|
}
|