Skip to content

Commit

Permalink
Other
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert-M-Lucas committed Jul 26, 2024
1 parent 944501b commit 12cfc23
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 19 deletions.
30 changes: 15 additions & 15 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions main.why
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ struct StructB {
b: int
}

impl StructA {
fn test(self) {

}
}

fn main() -> int {
let y: int = 13;
Expand All @@ -20,6 +25,8 @@ fn main() -> int {
}
};

x.test();

&y = x.b.a;

return y;
Expand Down
1 change: 0 additions & 1 deletion src/root/compiler/evaluation/new.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ pub fn compile_evaluable_new(
global_table: &mut GlobalDefinitionTable,
global_tracker: &mut GlobalTracker
) -> Result<(String, Option<AddressedTypeRef>), WErr> {

let ets = et.token();

Ok(match ets {
Expand Down
4 changes: 1 addition & 3 deletions todo.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@

- Add support for struct.attribute
- Add support for struct.function()
- Add support for struct.staticFunction()
- Add support for struct::staticFunction()
- Add array support
- Add rich parser errors
- Add support for multiple files
- Add support for heap stuff
x.a;

0 comments on commit 12cfc23

Please sign in to comment.