@@ -191,8 +191,8 @@ class BuildImpl {
191191 return new AssetGraph .deserialize (
192192 JSON .decode (await _reader.readAsString (_assetGraphId)));
193193 } on AssetGraphVersionException catch (_) {
194- /// Start fresh if the cached asset_graph version doesn't match up with
195- /// the current version. We don't currently support old graph versions.
194+ // Start fresh if the cached asset_graph version doesn't match up with
195+ // the current version. We don't currently support old graph versions.
196196 _logger.info ('Throwing away cached asset graph due to version mismatch.' );
197197 return new AssetGraph ();
198198 }
@@ -207,7 +207,7 @@ class BuildImpl {
207207 var completer = new Completer <bool >();
208208 Future
209209 .wait (currentMirrorSystem ().libraries.keys.map ((Uri uri) async {
210- /// Short-circuit
210+ // Short-circuit
211211 if (completer.isCompleted) return ;
212212 var lastModified;
213213 switch (uri.scheme) {
@@ -223,14 +223,14 @@ class BuildImpl {
223223 break ;
224224 case 'file' :
225225
226- /// TODO(jakemac): Probably shouldn't use dart:io directly, but its
227- /// definitely the easiest solution and should be fine.
226+ // TODO(jakemac): Probably shouldn't use dart:io directly, but its
227+ // definitely the easiest solution and should be fine.
228228 var file = new File .fromUri (uri);
229229 lastModified = await file.lastModified ();
230230 break ;
231231 case 'data' :
232232
233- /// Test runner uses a `data` scheme, don't invalidate for those.
233+ // Test runner uses a `data` scheme, don't invalidate for those.
234234 if (uri.path.contains ('package:test' )) return ;
235235 continue unknownUri;
236236 unknownUri: default :
@@ -252,7 +252,7 @@ class BuildImpl {
252252
253253 /// Creates and returns a map of updates to assets based on [_assetGraph] .
254254 Future <Map <AssetId , ChangeType >> _getUpdates () async {
255- /// Collect updates to the graph based on any changed assets.
255+ // Collect updates to the graph based on any changed assets.
256256 var updates = < AssetId , ChangeType > {};
257257 await Future .wait (_assetGraph.allNodes
258258 .where ((node) =>
@@ -294,11 +294,11 @@ class BuildImpl {
294294 (_reader as CachedAssetReader ).evictFromCache (id);
295295 }
296296
297- /// Update all ouputs of this asset as well.
297+ // Update all outputs of this asset as well.
298298 await Future .wait (node.outputs.map ((output) =>
299299 clearNodeAndDeps (output, rootChangeType, parent: node.id)));
300300
301- /// For deletes, prune the graph.
301+ // For deletes, prune the graph.
302302 if (parent == null && rootChangeType == ChangeType .REMOVE ) {
303303 _assetGraph.remove (id);
304304 }
@@ -322,8 +322,8 @@ class BuildImpl {
322322 await _writer.delete (_assetGraphId);
323323 _inputsByPackage[_assetGraphId.package]? .remove (_assetGraphId);
324324
325- /// Remove all output nodes from [_inputsByPackage] , and delete all assets
326- /// that need updates.
325+ // Remove all output nodes from [_inputsByPackage], and delete all assets
326+ // that need updates.
327327 await Future .wait (_assetGraph.allNodes
328328 .where ((node) => node is GeneratedAssetNode )
329329 .map ((node) async {
@@ -361,16 +361,16 @@ class BuildImpl {
361361 }
362362 }
363363
364- /// Once the group is done, add all outputs so they can be used in the next
365- /// phase.
364+ // Once the group is done, add all outputs so they can be used in the next
365+ // phase.
366366 for (var outputId in groupOutputIds) {
367367 tempInputsByPackage.putIfAbsent (
368368 outputId.package, () => new Set <AssetId >());
369369 tempInputsByPackage[outputId.package].add (outputId);
370370 }
371371 }
372372
373- // Check conflictingOuputs , prompt user to delete files.
373+ // Check conflictingOutputs , prompt user to delete files.
374374 if (conflictingOutputs.isEmpty) return ;
375375
376376 Future deleteConflictingOutputs () {
@@ -432,10 +432,10 @@ class BuildImpl {
432432 Future <BuildResult > _runPhases () async {
433433 final outputs = < Asset > [];
434434 for (var phase in _buildActions) {
435- /// Collects all the ids for files which are output by this stage. This
436- /// also includes files which didn't get regenerated because they weren't,
437- /// dirty unlike [outputs] which only gets files which were explicitly
438- /// generated in this build.
435+ // Collects all the ids for files which are output by this stage. This
436+ // also includes files which didn't get regenerated because they weren't,
437+ // dirty unlike [outputs] which only gets files which were explicitly
438+ // generated in this build.
439439 final phaseOutputIds = new Set <AssetId >();
440440
441441 await Future .wait (phase.map ((action) async {
0 commit comments