You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently in verify_no_collissions we will call panic!("Message overlaps between interface and contract impl!");
in case of intersection between two or more messages. This is not helpful enough and it would be best to print duplicated messages name.
Unfortunately because it all happens in const fn we can't just call format! and concatenate two strings.
Below example compiles and could be a way to workaround this. panic!("{}", msgs[i][outer_i]);
Maybe there is a way to print message before panicking explaining what is causing compilation to fail.
The text was updated successfully, but these errors were encountered:
Currently in verify_no_collissions we will call
panic!("Message overlaps between interface and contract impl!");
in case of intersection between two or more messages. This is not helpful enough and it would be best to print duplicated messages name.
Unfortunately because it all happens in
const fn
we can't just callformat!
and concatenate two strings.Below example compiles and could be a way to workaround this.
panic!("{}", msgs[i][outer_i]);
Maybe there is a way to print message before panicking explaining what is causing compilation to fail.
The text was updated successfully, but these errors were encountered: