protected override void ReportError(string message, SourceLocation start, SourceLocation end, IronSmalltalk.Internals.ErrorSinkBase.ErrorType type, params object[] offenders) { this.Tester.AddError(type.ToString(), start, end, message); }
protected override void ReportError(string message, SourceLocation start, SourceLocation end, IronSmalltalk.Internals.ErrorSinkBase.ErrorType type, params object[] offenders) { this.HadErrors = true; if (this.Client != null) { this.Client.ReportError(message, start, end); } }
protected override void ReportError(string message, SourceLocation start, SourceLocation end, IronSmalltalk.Internals.ErrorSinkBase.ErrorType type, params object[] offenders) { if (!this.Tester.Errors.ContainsKey(this)) { this.Tester.Errors.Add(this, new List <string>()); } this.Tester.Errors[this].Add(message); }
protected override void ReportError(string message, SourceLocation start, SourceLocation end, IronSmalltalk.Internals.ErrorSinkBase.ErrorType type, params object[] offenders) { this.HadErrors = true; this.textResult.Text = this.textResult.Text + String.Format("ERROR [{0} - {1}]: {2}\r\n", start, end, message); }
protected override void ReportError(string message, SourceLocation start, SourceLocation end, IronSmalltalk.Internals.ErrorSinkBase.ErrorType type, params object[] offenders) { this.HadError = true; this.ReportError(String.Format("{0} ({1} --> {2})\n\r{3} Error: {4}", this.SourceFile, start, end, type, message)); }
protected override void ReportError(string message, SourceLocation start, SourceLocation end, IronSmalltalk.Internals.ErrorSinkBase.ErrorType type, params object[] offenders) { Console.WriteLine("Error [{0} - {1}]: {2}", start, end, message); }