Skip to content

Commit

Permalink
Revert "repr function with identifier if present."
Browse files Browse the repository at this point in the history
This reverts commit 7c421ab.
  • Loading branch information
jgm committed Aug 6, 2024
1 parent 7c421ab commit fa390e4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Typst/Types.hs
Original file line number Diff line number Diff line change
Expand Up @@ -854,8 +854,7 @@ prettyVal expr =
)
)
VDirection d -> text $ T.toLower $ T.pack $ show d
VFunction (Just (Identifier ident)) _ _ -> text ident
VFunction Nothing _ _ -> mempty
VFunction _ _ _ -> mempty
VLabel t -> text $ "<" <> t <> ">"
VCounter _ -> mempty
VColor (RGB r g b o) ->
Expand Down

0 comments on commit fa390e4

Please sign in to comment.