Skip to content

Commit

Permalink
avoid a new allocation
Browse files Browse the repository at this point in the history
  • Loading branch information
lue-bird committed Sep 10, 2024
1 parent 924e9b6 commit 7a1be94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Elm/Parser/Expose.elm
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ typeExpose =
{ start = typeNameRange.start
, end = openRange.end
}
(TypeExpose { name = typeName, open = Just openRange })
(TypeExpose { name = typeName, open = maybeOpen.syntax })
}
)
Tokens.typeNameNode
Expand Down

0 comments on commit 7a1be94

Please sign in to comment.