@@ -367,7 +367,7 @@ enum LogMsg: str {
367367 ConcurrentCallWithRefParam: `concurrent calls with functions with reference parameter(s) are not allowed in safe Jule`,
368368 ConcurrentCallWithSelfParam: `concurrent calls with methods having a "self" receiver parameter are not allowed in safe Jule`,
369369 UsedRefInAnonFuncFromParentScope: `anonymous functions cannot access reference definition @ of parent scope`,
370- TypeEnumCastedFromAny : `type enum cannot be casted from any type`,
370+ TypeEnumAssertedFromAny : `type enum cannot be asserted from any type`,
371371 DuplicatedUseAlias: `@ is already being used`,
372372 BuiltinUsedForRef: `built-in defines cannot pass to references`,
373373 DefaultNotLast: `default case cannot be the last case`,
@@ -453,6 +453,9 @@ enum LogMsg: str {
453453 ConstantOverflowResult: `computation result is constant overflow`,
454454 UntypedNumericForPhysical: `cannot use untyped value @ for the actual program, it is too large for any integer type`,
455455 ConstantOverflowType: `untyped value @ overflows @`,
456+ InvalidEnumKindForNamedFields: `enum kind does not supports named enum fields`,
457+ TypeNotSupportsTypeAssertionTo: `type @ not supports type assertion to type @`,
458+ TypeNotSupportsTypeAssertion: `type @ not supports type assertion`,
456459
457460 // Suggestions.
458461 ExpectedIdentifier: `create an identifier because identifier expected`,
0 commit comments