You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/reference/adts.md
+3-4Lines changed: 3 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,7 +96,7 @@ enum Color(val rgb: Int) {
96
96
}
97
97
```
98
98
99
-
## Syntax of Enums
99
+
###Syntax of Enums
100
100
101
101
Changes to the syntax fall in two categories: enum classes and cases inside enums.
102
102
The changes are specified below as deltas with respect to the Scala syntax given [here](https://github.com/lampepfl/dotty/blob/master/docs/docs/internals/syntax.md)
@@ -116,7 +116,6 @@ The changes are specified below as deltas with respect to the Scala syntax given
116
116
ClsParamClauses TemplateOpt
117
117
TemplateStat ::= ... | EnumCaseStat
118
118
119
+
### Reference
119
120
120
-
121
-
122
-
121
+
For more info, see [Issue #1970](https://github.com/lampepfl/dotty/issues/1970).
0 commit comments