Skip to content

Spec oversights 1 #65

Closed
Closed
@DartBot

Description

@DartBot

This issue was originally filed by edsr...@gmail.com


I noticed these minor issues while reading through the spec.

Section 6.2
The formalParameterList grammar is missing a quote around the comma.

Section 7.1.2
The list of operators which must have 1 formal parameter mentions "?", but does not mention "/". I suspect somebody was accidentally pressing shift.

The last paragraph on page 15 does not mention "/" or "?" as an allowed user-defined operator.

Section 10.27
incrementOperator grammar has "–" (an en dash) when it's probably supposed to be "--"

Section 14.1.1
"is" is not listed as a reserved word. This might be intentional since it is listed as a built-in identifier in section 10.29, but for all practical purposes it seems to be a reserved word.

For example, I can't create a variable named "is", while I can create one named "class".

Metadata

Metadata

Assignees

Labels

area-languageDart language related items (some items might be better tracked at github.com/dart-lang/language).

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions