You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
val ReportWarning: globalWarnLevel: int* specificWarnOff: int list* specificWarnOn: int list->PhasedError-> bool
725
+
val ReportWarning: globalWarnLevel: int* specificWarnOff: int list* specificWarnOn: int list->PhasedDiagnostic-> bool
721
726
722
727
/// Indicates if we should report a warning as an error
723
-
val ReportWarningAsError: globalWarnLevel: int* specificWarnOff: int list* specificWarnOn: int list* specificWarnAsError: int list* specificWarnAsWarn: int list* globalWarnAsError: bool->PhasedError-> bool
728
+
val ReportWarningAsError: globalWarnLevel: int* specificWarnOff: int list* specificWarnOn: int list* specificWarnAsError: int list* specificWarnAsWarn: int list* globalWarnAsError: bool->PhasedDiagnostic-> bool
System.Diagnostics.Debug.Assert(phase<>BuildPhase.DefaultPhase, sprintf"Compile error seen with no phase to attribute it to.%A%s%s" phase exn.Message exn.StackTrace)
183
184
{Exception= exn; Phase=phase}
184
185
memberthis.DebugDisplay()=
@@ -236,9 +237,9 @@ type PhasedError = { Exception:exn; Phase:BuildPhase } with
236
237
// Sanity check ensures that Phase matches Subcategory
237
238
#if DEBUG
238
239
if isPhaseInCompilethen
239
-
System.Diagnostics.Debug.Assert(PhasedError.IsSubcategoryOfCompile(pe.Subcategory()),"Subcategory did not match isPhaesInCompile=true")
240
+
System.Diagnostics.Debug.Assert(PhasedDiagnostic.IsSubcategoryOfCompile(pe.Subcategory()),"Subcategory did not match isPhaesInCompile=true")
240
241
else
241
-
System.Diagnostics.Debug.Assert(not(PhasedError.IsSubcategoryOfCompile(pe.Subcategory())),"Subcategory did not match isPhaseInCompile=false")
242
+
System.Diagnostics.Debug.Assert(not(PhasedDiagnostic.IsSubcategoryOfCompile(pe.Subcategory())),"Subcategory did not match isPhaseInCompile=false")
242
243
#endif
243
244
isPhaseInCompile
244
245
@@ -248,39 +249,33 @@ type ErrorLogger(nameForDebugging:string) =
248
249
abstractErrorCount:int
249
250
// The 'Impl' factoring enables a developer to place a breakpoint at the non-Impl
250
251
// code just below and get a breakpoint for all error logger implementations.