fix(dart/transform): Don't set ReflectionCapabilities over an async gap
Update the transformer's `TemplateCompiler` phase to avoid setting `reflector.reflectionCapabilities`, allowing asynchronous operations, and restoring the original value, which allows `reflector.reflectionCapabilities` to get into a bad state.
This commit is contained in:
@ -103,7 +103,6 @@ void allTests() {
|
||||
output = await process(new AssetId('a', inputPath));
|
||||
_formatThenExpectEquals(output, expected);
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user