diff --git a/src/compiler/Checker.ref b/src/compiler/Checker.ref index 0d5e9f95..d4065725 100644 --- a/src/compiler/Checker.ref +++ b/src/compiler/Checker.ref @@ -779,16 +779,16 @@ CheckFunctionBodyRec { CheckSentenceRec { (e.ScopeVars) t.LastSentence - = ; + = ; (e.ScopeVars) t.Sentence e.Sentences = ; } CheckSentence { - e.ScopeVars ((e.Pattern) e.Assignments (e.Result) (e.Blocks)) + e.ScopeVars ((e.Pattern) e.Assignments (e.Result) (e.Blocks)) e.Marker - = + = : (e.ScopeVars^) e.PatternFunctionsAndErrors = @@ -826,7 +826,7 @@ DoCheckAssignments { = : e.BlocksFunctionsAndErrors - = + = : (e.ScopeVars^) e.PatternFunctionsAndErrors = + (e.ScopeVars) (e.Pattern) e.Flag + = + > >; } CheckPattern-WarnRepeated { - e._ =; + (e.ScopeVars) (e.Pattern) s.WarningId = ; + (e._) (e._) = /* пусто */; +} + +GetWarningIdByFlag { + LastSentenceFlag = RepeatedVariableMaybe; + AssignmentFlag = RepeatedVariable; + /* пусто */ = /* пусто */; } CheckPattern-Flatten {