mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Use Uri.file expecting filepath (#4646)
This commit is contained in:
parent
32c241dd88
commit
d5259d3af9
@ -160,7 +160,7 @@ class _FrontendCompiler implements CompilerInterface {
|
||||
if (options['incremental']) {
|
||||
_entryPoint = filenameUri;
|
||||
_compilerOptions = compilerOptions;
|
||||
_generator = generator ?? _createGenerator(Uri.base.resolve(_kernelBinaryFilenameFull));
|
||||
_generator = generator ?? _createGenerator(new Uri.file(_kernelBinaryFilenameFull));
|
||||
await invalidateIfBootstrapping();
|
||||
program = await _runWithPrintRedirection(() => _generator.computeDelta());
|
||||
} else {
|
||||
@ -260,7 +260,7 @@ class _FrontendCompiler implements CompilerInterface {
|
||||
|
||||
@override
|
||||
void resetIncrementalCompiler() {
|
||||
_generator = _createGenerator(Uri.base.resolve(_kernelBinaryFilenameFull));
|
||||
_generator = _createGenerator(new Uri.file(_kernelBinaryFilenameFull));
|
||||
_kernelBinaryFilename = _kernelBinaryFilenameFull;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user