Skip to content

Commit 001d65f

Browse files
committed
more cleanup
1 parent d7450a4 commit 001d65f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

fsharp/grammar.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,12 +1022,10 @@ module.exports = grammar({
10221022
),
10231023
paren_type: ($) => seq("(", $._type, ")"),
10241024
function_type: ($) => prec.right(seq($._type, "->", $._type)),
1025-
compound_type: ($) =>
1026-
prec.right(seq($._type, repeat1(prec.right(seq("*", $._type))))),
1025+
compound_type: ($) => prec.right(seq($._type, "*", $._type)),
10271026
postfix_type: ($) => prec.left(4, seq($._type, $.long_identifier)),
10281027
list_type: ($) => seq($._type, "[]"),
10291028
static_type: ($) => prec(10, seq($._type, $.type_arguments)),
1030-
constrained_type: ($) => prec.right(seq($.type_argument, ":>", $._type)),
10311029
flexible_type: ($) => prec.right(seq("#", $._type)),
10321030
anon_record_type: ($) =>
10331031
seq("{|", scoped($.record_fields, $._indent, $._dedent), "|}"),

0 commit comments

Comments
 (0)