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
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeApplications #-}
importLanguage.Haskell.THsymFQN::Name->QType
symFQN n =do
loc <- location
pure$LitT$StrTyLit$ loc_module loc ++"."++ nameBase n
staticKey::Name->QExp
staticKey name = [| sing @$(symFQN name) |]
main =pure()
$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 8.10.1
$ ghc Test.hs
Loaded package environment from $PWD/.ghc.environment.x86_64-linux-8.10.1
[1 of 1] Compiling Main ( Test.hs, Test.o, Test.dyn_o )
Linking Test ...
$ ormolu --version
ormolu 0.1.0.0 UNKNOWN UNKNOWN
using ghc-lib-parser 8.10.1.20200523
$ ormolu -d -minplace Test.hs
warnings:
parse result:
comment stream:
AST of input and AST of formatted code differ.
at Test.hs:12:21-41
Please, consider reporting the bug.
5
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: