craftslab
craftslab
See: https://github.com/AmrDeveloper/GQL/commit/9c0dd0a73d858d4df7920fb77e9611f702c315ef#r138759473 Remove characters of `` in the end of comments line please @AmrDeveloper _Originally posted by @craftslab in https://github.com/AmrDeveloper/GQL/issues/80#issuecomment-1950964851_
**Describe the bug** Incorrect comments in function of consume_identifier **To Reproduce** ```rust // https://github.com/AmrDeveloper/GQL/blob/78ca828f952ae0ab22128eb7af0ced6c3442db93/crates/gitql-parser/src/tokenizer.rs#L647 // Identifier is be case-insensitive by default, convert to lowercase to be easy to compare and...
**Describe the bug** Incorrect comments in function of check_all_values_are_same_type **To Reproduce** ```rust // 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** ```rust...
**Describe the bug** Incorrect statement in function of consume_octal_number **To Reproduce** ```rust // https://github.com/AmrDeveloper/GQL/blob/78ca828f952ae0ab22128eb7af0ced6c3442db93/crates/gitql-parser/src/tokenizer.rs#L811 while *pos < chars.len() && ((chars[*pos] >= '0' || chars[*pos] < '8') || chars[*pos] == '_')...
**Describe the bug** Incorrect comments in function of un_expected_expression_error **To Reproduce** ```rust // https://github.com/AmrDeveloper/GQL/blob/78ca828f952ae0ab22128eb7af0ced6c3442db93/crates/gitql-parser/src/parser.rs#L2158 // `< =` the user may mean to write ` =` the user may mean to...
**Describe the bug** Incorrect statement for CASE in documentation **To Reproduce** ```rust // https://github.com/AmrDeveloper/GQL/blob/master/docs/expression/case.md SELECT name FROM branches WHERE (CASE WHERE isRemote THEN 1 ELSE 0 END) > 0 ```...
**Describe the bug** Misspelling in Diagnostic::error **To Reproduce** ```rust // 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** ```rust Diagnostic::error("Unexpected character").with_location_span(column_start, position), ``` **GQL (please complete the following information):** Version...
**Describe the bug** Incorrect equals for DateTime and Time **To Reproduce** ```rust // https://github.com/AmrDeveloper/GQL/blob/master/crates/gitql-ast/src/value.rs let value = Value::DateTime(1704890191); let other = Value::DateTime(1704890192); let ret = value.equals(&other); assert_eq!(ret, false); // fails...
**Describe the bug** Incorrect expr_type for ArithmeticExpression **To Reproduce** ```rust // https://github.com/AmrDeveloper/GQL/blob/master/crates/gitql-ast/src/expression.rs let express = ArithmeticExpression { left: Box::new(NumberExpression { value: Value::Integer(1), }), operator: ArithmeticOperator::Plus, right: Box::new(NumberExpression { value: Value::Float(1.0),...
OmniParser is a general screen parsing tool, which interprets/converts UI screenshot to structured format, to improve existing LLM based UI agent. Training Datasets include: 1) an interactable icon detection dataset,...