AmrDeveloper / GQL

Git Query language is a SQL like language to perform queries on .git files with supports of most of SQL features such as grouping, ordering and aggregations functions
https://amrdeveloper.github.io/GQL/
MIT License
3.3k stars 90 forks source link

Misspelling in Diagnostic::error #74

Closed craftslab closed 10 months ago

craftslab commented 10 months ago

Describe the bug

Misspelling in Diagnostic::error

To Reproduce

// https://github.com/AmrDeveloper/GQL/blob/ca60dfd29be62753ae95921b9096cf250ae55d0a/crates/gitql-parser/src/tokenizer.rs#L619

Diagnostic::error("Un expected character").with_location_span(column_start, position),

Expected behavior

Diagnostic::error("Unexpected character").with_location_span(column_start, position),

GQL (please complete the following information):

Version 0.12.0

Screenshots

None

AmrDeveloper commented 10 months ago

Hello @craftslab,

Thank you, fixed