File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sway-core/src/language/ty/declaration Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ fn has_const_generics(type_id: TypeId, engines: &Engines) -> bool {
3636 let t = engines. te ( ) . get ( t) ;
3737 match & * t {
3838 TypeInfo :: StringArray ( length) => match length. expr ( ) {
39- ConstGenericExpr :: Literal { .. } => todo ! ( ) ,
39+ ConstGenericExpr :: Literal { .. } => { } ,
4040 ConstGenericExpr :: AmbiguousVariableExpression { .. } => return true ,
4141 } ,
4242 TypeInfo :: Enum ( decl_id) => {
@@ -82,7 +82,7 @@ fn has_const_generics(type_id: TypeId, engines: &Engines) -> bool {
8282 }
8383
8484 match length. expr ( ) {
85- ConstGenericExpr :: Literal { .. } => todo ! ( ) ,
85+ ConstGenericExpr :: Literal { .. } => { } ,
8686 ConstGenericExpr :: AmbiguousVariableExpression { .. } => return true ,
8787 }
8888 }
You can’t perform that action at this time.
0 commit comments