Skip to content

Commit

Permalink
suppress name shadow warns
Browse files Browse the repository at this point in the history
  • Loading branch information
yaxu committed Apr 11, 2024
1 parent 75176c3 commit b0ed36f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions BootTidal.hs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ hSetEncoding stdout utf8

tidal <- startTidal (superdirtTarget {oLatency = 0.05, oAddress = "127.0.0.1", oPort = 57120}) (defaultConfig {cVerbose = True})

:set -Wno-name-shadowing

:{
let only = (hush >>)
p = streamReplace tidal
Expand Down Expand Up @@ -67,6 +69,8 @@ let only = (hush >>)
d16 = p 16
:}

:set -Wname-shadowing

:{
let getState = streamGet tidal
setI = streamSetI tidal
Expand Down

0 comments on commit b0ed36f

Please sign in to comment.