Skip to content

Commit 2cad881

Browse files
committed
Merge branch 'master' of github.com:jacob314/dart-xml
# Conflicts: # lib/xml/grammar.dart
2 parents 7e0e278 + 328d90a commit 2cad881

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/xml/nodes/element.dart

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ class XmlElement extends XmlBranch implements XmlNamed {
1515
*/
1616
XmlElement(XmlName name, Iterable<XmlAttribute> attributes,
1717
Iterable<XmlNode> children)
18-
: super(children),
19-
name = name,
20-
attributes = attributes.toList(growable: false) {
18+
: name = name,
19+
attributes = attributes.toList(growable: false),
20+
super(children) {
2121
assert(this.name._parent == null);
2222
this.name._parent = this;
2323
for (var attribute in this.attributes) {

lib/xml/utils/name.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ abstract class XmlName extends Object
6363
accept(XmlVisitor visitor) => visitor.visitName(this);
6464

6565
@override
66-
bool operator ==(Object other) => other is XmlName &&
66+
bool operator ==(other) => other is XmlName &&
6767
other.local == local &&
6868
other.namespaceUri == namespaceUri;
6969

0 commit comments

Comments
 (0)