I am using GHC in a haskell-stack project. I would like to clear the warning about missing fields before the compilation error.
I tried to do the following, but that will not work.
{-# OPTIONS_GHC -Werror=missing-fields #-} -- DOESN'T WORK
Could you tell me how to remove the missing fields, warning about a compilation error?
GHC 8.2.1 . stack, LTS 8.0.2. GHC ( stack, compiler: ghc-8.2.1), -Werror -Wmissing-fields , . ( , missing-methods, , .)
stack
compiler: ghc-8.2.1
-Werror -Wmissing-fields
missing-methods
. , . , .
Source: https://habr.com/ru/post/1687943/More articles:Registering DLLs from a TFS Assembly Using CodeActivity - .netjavascript, what is Object vs Object.prototype when used in the Object.create proto parameter - javascriptСообщение Base64 для Mvc-контроллера - javascriptКак подписать git фиксируется в среде IDE, например IntelliJ? - githttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1687942/passing-negative-number-literals-to-extension-propertiesmethods-in-swift&usg=ALkJrhgk6IgFSc_4vN9EhGhWI0dugiNzAggpg: Sorry, no terminal is requested - cannot receive input - linuxDefine Heroku user account in Rails console - ruby-on-railsWhat does "didMove # to" mean for SKSpriteNode? - sprite-kitMy application restarted, the log shows ChimeraModuleLdr: the configuration of the module was changed, causing a restart due to the module - androidHow to link html, js and css in one html file with webpack? - javascriptAll Articles