-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: stop allowing multiple constant entries (#39)
* remove entries and make `ConstantDefinition` self contained * remove entries and make `ClassishConstantDefinition` self contained
- Loading branch information
1 parent
b349d8b
commit 7098a99
Showing
19 changed files
with
2,318 additions
and
2,644 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
const FOO = 1; | ||
const FOO = 1; | ||
const BAR = FOO; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
error[P0013]: unexpected token `,`, expected `;` | ||
--> 0029/code.ara:1:14 | ||
| | ||
1 | const FOO = 1, BAR = 2; | ||
| ^ | ||
|
||
error: failed to parse "0029/code.ara" due to the above issue(s) | ||
= summary: 1 error(s) | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
const A = 3, | ||
B = 3; | ||
interface A extends B, C { | ||
#[R] | ||
const F = 344; | ||
|
||
#[R] | ||
public const O = 344; | ||
|
||
#[R] | ||
#[P] | ||
final public const R = 344, P = 214; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
error[P0013]: unexpected token `,`, expected `;` | ||
--> 0043/code.ara:10:31 | ||
| | ||
10 | final public const R = 344, P = 214; | ||
| ^ | ||
|
||
error: failed to parse "0043/code.ara" due to the above issue(s) | ||
= summary: 1 error(s) | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.