Skip to content

Commit

Permalink
Upgrade bs1104 to Error.Refine BS1104 and BS1105 messaging.
Browse files Browse the repository at this point in the history
  • Loading branch information
TwitchBronBron committed Aug 28, 2020
1 parent 1b023ca commit 52934c1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/DiagnosticMessages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -536,14 +536,14 @@ export let DiagnosticMessages = {
severity: DiagnosticSeverity.Warning
}),
localVarShadowedByScopedFunction: () => ({
message: `Local var has same name as scoped function and will not be accessible`,
message: `Local variable will not be accessible because it has the same name as scoped function`,
code: 1104,
severity: DiagnosticSeverity.Warning
severity: DiagnosticSeverity.Error
}),
scopeFunctionShadowedByBuiltInFunction: () => ({
message: `Scope function has same name as built-in function and will not be accessible`,
message: `Scope function will not be accessible because it has the same name as built-in function`,
code: 1105,
severity: DiagnosticSeverity.Warning
severity: DiagnosticSeverity.Error
}),
brighterscriptScriptTagMissingTypeAttribute: () => ({
message: `All BrighterScript script tags must include the type="text/brighterscript" attribute`,
Expand Down

0 comments on commit 52934c1

Please sign in to comment.