Should Enum::Variant::<TyArgs> be disabled? #3794
Labels
compiler: frontend
Everything to do with type checking, control flow analysis, and everything between parsing and IRgen
language feature
Core language features visible to end users
We have the following comment in our codebase:
sway/sway-core/src/semantic_analysis/ast_node/expression/typed_expression.rs
Lines 1042 to 1054 in c6be336
Should we disable
Enum::Variant::<TyArgs>
and only acceptEnum::<TyArgs>::Variant
, or do we follow Rust behavior here also and accept both?The text was updated successfully, but these errors were encountered: