Closed alixinne closed 4 years ago
Identifier::new() returns Err(IdentifierError::StartsWithDigit) when the input string starts with an underscore. However, the spec (3.7 Identifiers) says this should be allowed.
Identifier::new()
Err(IdentifierError::StartsWithDigit)
Good catch, thanks!
Identifier::new()
returnsErr(IdentifierError::StartsWithDigit)
when the input string starts with an underscore. However, the spec (3.7 Identifiers) says this should be allowed.