Skip to content

Commit

Permalink
Remove traces
Browse files Browse the repository at this point in the history
  • Loading branch information
josephsumabat committed Oct 23, 2024
1 parent 326f061 commit c672b87
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Moat/Pretty/Kotlin.hs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import Data.Functor ((<&>))
import Data.List (intercalate)
import qualified Data.Map as Map
import Data.Maybe (catMaybes, mapMaybe)
import Debug.Trace
import Moat.Pretty.Doc.KDoc
import Moat.Types

Expand Down Expand Up @@ -83,13 +82,8 @@ prettyStructFields indents fields deprecatedFields = go fields
++ ",\n"
go [] = ""
go (field@(Field fieldName _ _) : fs) =
traceShow deprecatedFieldsMap $
traceShow fieldName $
traceShow fields $
traceShow fs $
case Map.lookup fieldName deprecatedFieldsMap of
Just mComment ->
traceShow "test" $
maybe "" (\comment -> "// " ++ comment ++ "\n") mComment
++ "//"
++ prettyField field
Expand Down

0 comments on commit c672b87

Please sign in to comment.