Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Zekun Wang committed Feb 27, 2024
1 parent d3fced6 commit ed9e378
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,14 @@ module 0x42::type_param {
f: S2<u8, S3<u8, u8>>
}
}

module 0x42::instantiate_with_self {
struct S<T> {
f: T
}

struct U {
// this is ok
f: S<S<u8>>
}
}

0 comments on commit ed9e378

Please sign in to comment.