Skip to content

Commit 2272743

Browse files
authored
[haskell-http-client] disable unused import warning in Core.hs (#4020)
1 parent 0c7820c commit 2272743

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • modules/openapi-generator/src/main/resources/haskell-http-client
  • samples/client/petstore/haskell-http-client/lib/OpenAPIPetstore

modules/openapi-generator/src/main/resources/haskell-http-client/Core.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Module : {{baseModule}}.Core
1414
{-# LANGUAGE ScopedTypeVariables #-}
1515
{-# LANGUAGE TupleSections #-}
1616
{-# LANGUAGE TypeFamilies #-}
17-
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds #-}
17+
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-}
1818

1919
module {{baseModule}}.Core where
2020

samples/client/petstore/haskell-http-client/lib/OpenAPIPetstore/Core.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Module : OpenAPIPetstore.Core
2323
{-# LANGUAGE ScopedTypeVariables #-}
2424
{-# LANGUAGE TupleSections #-}
2525
{-# LANGUAGE TypeFamilies #-}
26-
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds #-}
26+
{-# OPTIONS_GHC -fno-warn-name-shadowing -fno-warn-unused-binds -fno-warn-unused-imports #-}
2727

2828
module OpenAPIPetstore.Core where
2929

0 commit comments

Comments
 (0)