-
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tuple): add parsing and HIR lowering for tuples
- Loading branch information
1 parent
bbcdce8
commit 4db8e46
Showing
16 changed files
with
452 additions
and
169 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
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
10 changes: 5 additions & 5 deletions
10
crates/mun_hir/src/ty/snapshots/tests__struct_declaration.snap
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,8 +1,8 @@ | ||
--- | ||
source: crates/mun_hir/src/ty/tests.rs | ||
expression: "struct Foo;\nstruct Bar {}\nstruct Baz {\n f: float,\n i: int,\n}\n\nfn main() {\n let foo: Foo;\n let bar: Bar;\n let baz: Baz;\n}" | ||
expression: "struct Foo;\nstruct Bar {\n f: float,\n i: int,\n}\nstruct Baz(float, int);\n\n\nfn main() {\n let foo: Foo;\n let bar: Bar;\n let baz: Baz;\n}" | ||
--- | ||
[78; 135) '{ ...Baz; }': nothing | ||
[88; 91) 'foo': Foo | ||
[106; 109) 'bar': Bar | ||
[124; 127) 'baz': Baz | ||
[89; 146) '{ ...Baz; }': nothing | ||
[99; 102) 'foo': Foo | ||
[117; 120) 'bar': Bar | ||
[135; 138) 'baz': Baz |
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
Oops, something went wrong.