aboutsummaryrefslogtreecommitdiffstats
path: root/third_party/WebIDL/ext-attribute-no-value-error.patch
blob: 210134d8ca699543b51f1f327e4e8b63598917cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- WebIDL.py
+++ WebIDL.py
@@ -3490,7 +3490,7 @@ class IDLBuiltinType(IDLType):
                                       [self.location, attribute.location])
                 assert not self.nullable()
                 if not attribute.hasValue():
-                    raise WebIDLError("[TreatNullAs] must take an identifier argument"
+                    raise WebIDLError("[TreatNullAs] must take an identifier argument",
                                       [attribute.location])
                 value = attribute.value()
                 if value != 'EmptyString':