Open gwalen opened 9 months ago
Stylus version: 0.4.2
0.4.2
This code does not compile:
sol_storage! { pub struct Erc20Burnable<T> { #[borrow] Erc20<T> erc20; } }
I think it should, it represents an abstract class in Solidity with generic types
Note: without generic T in struct declaration it works fine (eg.: when type is MyTokenParams struct that implements Erc20Params trait)
T
Stylus version:
0.4.2
This code does not compile:
I think it should, it represents an abstract class in Solidity with generic types
Note: without generic
T
in struct declaration it works fine (eg.: when type is MyTokenParams struct that implements Erc20Params trait)