Index: pkg/yaml/lib/src/constructor.dart |
diff --git a/pkg/yaml/lib/src/constructor.dart b/pkg/yaml/lib/src/constructor.dart |
index a8224a493868191241b5ecbb94e12f730257f62d..5cf23c7c59ecfbf1d6825f03a645721d48620c84 100644 |
--- a/pkg/yaml/lib/src/constructor.dart |
+++ b/pkg/yaml/lib/src/constructor.dart |
@@ -53,7 +53,7 @@ class Constructor extends Visitor { |
YamlNode getAnchor(Node anchored) { |
if (anchored.anchor == null) return null; |
var value = _anchors[anchored.anchor]; |
- if (vaule == null) return null; |
+ if (value == null) return null; |
// Re-wrap [value]'s contents so that it's associated with the span of the |
// anchor rather than its original definition. |