Fix spelling errors in dartdocs (#7997)

Fix the spelling errors in the dartdocs for the engine.

There are no functionality changes here, just documentation fixes.
This commit is contained in:
Greg Spencer
2019-02-28 14:42:55 -08:00
committed by GitHub
parent 6bc9c3d170
commit a1d84996dd
11 changed files with 97 additions and 92 deletions
@@ -144,7 +144,7 @@ class _WidgetCallSiteTransformer extends Transformer {
/// locations of the parameters passed in from the source location of the
/// constructor call but it is convenient to bundle the location and names
/// of the parameters passed in so that tools can show parameter locations
/// without reparsing the source code.
/// without re-parsing the source code.
ConstructorInvocation _constructLocation(
Location location, {
String name,
@@ -399,7 +399,7 @@ class WidgetCreatorTracker implements ProgramTransformer {
new VariableGet(variable),
));
// TODO(jacobr): add an assert verifying the locationField is not
// null. Curently we cannot safely add this assert because we do not
// null. Currently, we cannot safely add this assert because we do not
// handle Widget classes with optional positional arguments. There are
// no Widget classes in the flutter repo with optional positional
// arguments but it is possible users could add classes with optional