Index: lib/src/yaml_node.dart |
diff --git a/lib/src/yaml_node.dart b/lib/src/yaml_node.dart |
index d4961bb91d61bac5e8709acb6b9de6677e3e4215..99f751510655ac92149d787378888c45c90eeaba 100644 |
--- a/lib/src/yaml_node.dart |
+++ b/lib/src/yaml_node.dart |
@@ -166,7 +166,7 @@ class YamlScalar extends YamlNode { |
/// Users of the library should not use this constructor. |
YamlScalar.internal(this.value, ScalarEvent scalar) |
: style = scalar.style { |
- _span = span; |
+ _span = scalar.span; |
} |
/// Users of the library should not use this constructor. |