You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 9e8fdef
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: pkg/dart2bytecode/lib/dart2bytecode.dart
+13-6Lines changed: 13 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -109,9 +109,16 @@ final ArgParser _argParser = ArgParser(allowTrailingOptions: true)
109
109
help:'Print this help message.',
110
110
)
111
111
..addFlag(
112
-
'track-widget-creation',
113
-
help:'Run a kernel transformer to track creation locations for widgets.',
112
+
'track-creation-locations',
113
+
help:
114
+
'Run a kernel transformer to track creation locations for'
115
+
' classes annotated with @pragma(\'track-creation-locations\').',
114
116
defaultsTo:false,
117
+
aliases: [
118
+
// TODO(http://dartbug.com/63225): Remove this once flutter is migrated
Copy file name to clipboardExpand all lines: pkg/dev_compiler/lib/src/command/options.dart
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -368,10 +368,17 @@ class Options {
368
368
hide:true,
369
369
)
370
370
..addFlag(
371
-
'track-widget-creation',
372
-
help:'Enable inspecting of Flutter widgets.',
371
+
'track-creation-locations',
372
+
help:
373
+
'Run a kernel transformer to track creation locations for'
374
+
' classes annotated with @pragma(\'track-creation-locations\').',
373
375
defaultsTo:false,
374
376
hide:true,
377
+
aliases: [
378
+
// TODO(http://dartbug.com/63225): Remove this once flutter is
379
+
// migrated to the new flag.
380
+
'track-widget-creation',
381
+
],
375
382
)
376
383
// TODO(jmesserly): add verbose help to show hidden options
// TODO(http://dartbug.com/63225): Remove this once flutter is
0 commit comments