fix: resolve ByRef parameter type mismatch in error logger calls
All checks were successful
NTFY Notification / notify (push) Successful in 4s
All checks were successful
NTFY Notification / notify (push) Successful in 4s
Convert Long rowIdx parameters to String using CStr() for clsErrorLogger.Record/RecordWarning methods. Changes: - M03_Logic.bas: Add CStr() to 5 logger calls (lines 37, 112, 200, 208, 215) - M03_Logic.bas: Change ParseAtom syntax error from Record to RecordWarning (non-blocking) - M05_PreProcessor.bas: Add CStr() to mapping warning (line 318) This resolves VBA compilation errors caused by passing Long type to ByRef String parameters. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -315,7 +315,7 @@ Private Function ApplyRegexMapping( _
|
||||
result = exactRegex.Replace(result, replacementStr)
|
||||
Else
|
||||
' 记录警告
|
||||
g_Logger.Record rowIdx, "M05.PreProcessor", "Mapping Warning", _
|
||||
g_Logger.RecordWarning CStr(rowIdx), "M05.PreProcessor", "Mapping Warning", _
|
||||
"Value not found in mapping table: " & keyName & "=" & originalValue, match.Value
|
||||
End If
|
||||
Next i
|
||||
|
||||
Reference in New Issue
Block a user