Commit 25999678 authored by Chris Bracken's avatar Chris Bracken Committed by GitHub

Use const for string literals where possible (#8980)

parent 3bc3d4a5
......@@ -272,8 +272,8 @@ Future<String> _buildAotSnapshot(
printStatus('Building App.framework...');
// These names are known to from the engine.
final String kVmSnapshotData = 'kDartVmSnapshotData';
final String kIsolateSnapshotData = 'kDartIsolateSnapshotData';
const String kVmSnapshotData = 'kDartVmSnapshotData';
const String kIsolateSnapshotData = 'kDartIsolateSnapshotData';
final String kVmSnapshotDataC = fs.path.join(outputDir.path, '$kVmSnapshotData.c');
final String kIsolateSnapshotDataC = fs.path.join(outputDir.path, '$kIsolateSnapshotData.c');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment