Skip to content

Commit

Permalink
Extend range of Labeled (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
i-am-the-slime authored Jul 3, 2021
1 parent 0fa3a7a commit f44b4e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PureScript/CST/Range.purs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ instance tokensOfSeparated :: TokensOf a => TokensOf (Separated a) where
instance rangeOfLabeled :: (RangeOf a, RangeOf b) => RangeOf (Labeled a b) where
rangeOf (Labeled { label, value }) =
{ start: (rangeOf label).start
, end: (rangeOf label).end
, end: (rangeOf value).end
}

instance tokensOfLabeled :: (TokensOf a, TokensOf b) => TokensOf (Labeled a b) where
Expand Down

0 comments on commit f44b4e2

Please sign in to comment.