Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
cburgdorf committed Nov 4, 2022
1 parent 741c74d commit 27642eb
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions foo.fe
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
trait Do {
fn bar();
}

struct X {}

impl Do for X {
fn bar() {
// do stuff
}
}

contract Foo {
pub fn yay() {
X::bar()
}
}

0 comments on commit 27642eb

Please sign in to comment.