Skip to content

Commit ff9651e

Browse files
committed
stdlib.lkql: Correct a syntax error
1 parent a138676 commit ff9651e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lkql_checker/share/lkql/stdlib.lkql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ fun number_of_values(type) =
552552
|" Return the number of values covered by a given BaseTypeDecl, -1 if
553553
|" this value cannot be determined.
554554
match type
555-
| SubtypeDecl(f_subtype: *(f_constraint: RangeConstraint(f_range: *(f_range: op@BinOp)) => range_values(op.f_left, op.f_right)
555+
| SubtypeDecl(f_subtype: *(f_constraint: RangeConstraint(f_range: *(f_range: op@BinOp)))) => range_values(op.f_left, op.f_right)
556556
| SubtypeDecl => number_of_values(type.f_subtype.f_name.p_referenced_decl())
557557
| * when type == type.p_universal_int_type() => -1
558558
| TypeDecl(f_type_def: type_def) => match type_def

0 commit comments

Comments
 (0)