Skip to content

Commit ce9fa6c

Browse files
Copilot7sharp9
andcommitted
Fix SynType.CreateApp to use Some range0 for lessRange and greaterRange
Co-authored-by: 7sharp9 <588746+7sharp9@users.noreply.github.com>
1 parent 09ac0fb commit ce9fa6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Myriad.Core/AstExtensions.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ module AstExtensions =
193193
194194
type SynType with
195195
static member CreateApp (typ, args, ?isPostfix) =
196-
SynType.App(typ, None, args, dotsOrCommas args, None, (defaultArg isPostfix false), range0)
196+
SynType.App(typ, Some range0, args, dotsOrCommas args, Some range0, (defaultArg isPostfix false), range0)
197197
static member CreateLongIdent id =
198198
SynType.LongIdent(id)
199199
static member CreateLongIdent s =

0 commit comments

Comments
 (0)