-
Notifications
You must be signed in to change notification settings - Fork 220
Open
Labels
Description
The language specification states that the content of a non-documentation comment must be ignored by the compiler:
language/specification/dartLangSpec.tex
Lines 22433 to 22437 in 0e320bd
Dart supports both single-line and multi-line comments. | |
A \Index{single line comment} begins with the token \code{//}. | |
Everything between \code{//} and the end of line | |
must be ignored by the Dart compiler | |
unless the comment is a documentation comment. |
It looks to me like this is not consistent with the behavior of the "library version comment construct" e.g. // @dart = 2.12
.
Wdestroier and mateusfccp