You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have very little understanding of how this happened but felt I should report it
I was using ob repl to write code involving inspection of Aeson/JSON keys and used the IsString functionality of Key to write one as a string literal for KeyMap.lookup function, I suspect this triggered something I'm not aware of.
Once I had worked through some errors and the module I was developing in compiled, another module which has a lot of jsaddle based functions in it, that I had not touched while working suddenly had the error "Could not deduce (Data.String.IsString a1)". For context, because I have a lot of JSaddle code in this module I have disabled OverloadedStrings to avoid this error.
When I reloaded with 'ob run' everything was working correctly again.
The text was updated successfully, but these errors were encountered:
For context, because I have a lot of JSaddle code in this module I have disabled OverloadedStrings to avoid this error.
As in, NoOverloadedStringsat the top of this module?
The extension adding likely comes from the preprocessor which adds per-file pragmas: #489 (comment)
If the .cabal enables Foo extension and the .hs uses NoFoo, they both end up in the file, but I assume the .cabal one ends up first which probably means it's overridden?
Not sure why it was reloaded without you touching it though.
I have very little understanding of how this happened but felt I should report it
I was using ob repl to write code involving inspection of Aeson/JSON keys and used the IsString functionality of Key to write one as a string literal for KeyMap.lookup function, I suspect this triggered something I'm not aware of.
Once I had worked through some errors and the module I was developing in compiled, another module which has a lot of jsaddle based functions in it, that I had not touched while working suddenly had the error "Could not deduce (Data.String.IsString a1)". For context, because I have a lot of JSaddle code in this module I have disabled OverloadedStrings to avoid this error.
When I reloaded with 'ob run' everything was working correctly again.
The text was updated successfully, but these errors were encountered: