Skip to content

Commit

Permalink
Fix message
Browse files Browse the repository at this point in the history
  • Loading branch information
Matheus Dias de Souza authored May 5, 2024
1 parent afe6f0f commit 1af9162
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/parser/diagnostics/diagnostics_english_resources.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ lazy_static! {
DiagnosticKind::ExpectingStringLiteral.id() => "Expecting string literal before {1}.".into(),
DiagnosticKind::DuplicateAttribute.id() => "Duplicate attribute.".into(),
DiagnosticKind::DuplicateAccessModifier.id() => "Duplicate access modifier.".into(),
DiagnosticKind::ExpectingDirectiveKeyword.id() => "Expecting either 'var', 'const', 'function', 'class' or 'interface.".into(),
DiagnosticKind::ExpectingDirectiveKeyword.id() => "Expecting either 'var', 'const', 'function', 'class' or 'interface'.".into(),
DiagnosticKind::UnallowedAttribute.id() => "Unallowed attribute.".into(),
DiagnosticKind::UseDirectiveMustContainPublic.id() => "Use directive must contain the 'public' attribute.".into(),
DiagnosticKind::MalformedEnumMember.id() => "Malformed enumeration member.".into(),
Expand Down Expand Up @@ -73,4 +73,4 @@ lazy_static! {
DiagnosticKind::XmlClosingTagNameMustBeEquals.id() => "Closing tag name must be equals '{1}'.".into(),
// DiagnosticKind::K.id() => ".".into(),
};
}
}

0 comments on commit 1af9162

Please sign in to comment.