File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1169,6 +1169,8 @@ function UndefVarError_hint(io::IO, ex::UndefVarError)
11691169 print (io, " \n Suggestion: check for spelling errors or missing imports." )
11701170 elseif Base. is_some_explicit_imported (kind)
11711171 print (io, " \n Suggestion: this global was defined as `$(Base. partition_restriction (bpart). globalref) ` but not assigned a value." )
1172+ elseif kind === Base. PARTITION_KIND_BACKDATED_CONST
1173+ print (io, " \n Suggestion: define the const at top-level before running function that uses it (stricter Julia v1.12+ rule)." )
11721174 end
11731175 elseif scope === :static_parameter
11741176 print (io, " \n Suggestion: run Test.detect_unbound_args to detect method arguments that do not fully constrain a type parameter." )
You can’t perform that action at this time.
0 commit comments