GQL icon indicating copy to clipboard operation
GQL copied to clipboard

Incorrect comments in function of check_all_values_are_same_type

Open craftslab opened this issue 2 years ago • 2 comments

Describe the bug

Incorrect comments in function of check_all_values_are_same_type

To Reproduce

// https://github.com/AmrDeveloper/GQL/blob/78ca828f952ae0ab22128eb7af0ced6c3442db93/crates/gitql-parser/src/type_checker.rs#L251

/// If they has the same type, return it or return None

Expected behavior

/// If they have the same type, return it or return None

GQL (please complete the following information):

Version 0.14.0

Screenshots

None

craftslab avatar Feb 16 '24 23:02 craftslab

Please check it @AmrDeveloper

craftslab avatar Feb 16 '24 23:02 craftslab

Hello @craftslab,

Thank you for reporting with clear example and fix

AmrDeveloper avatar Feb 17 '24 09:02 AmrDeveloper