Renamer golden test ignores GHC uniques (#16487)

This commit is contained in:
Moisés Ackerman 2023-03-08 11:45:57 +01:00 committed by GitHub
parent f97ca55b94
commit 3ec0f53850
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
==================== Renamer ====================
SetFieldParens.foo : (Text -> (Int, Bool)) -> (Int, Bool)
SetFieldParens.foo mkTup_aoK
SetFieldParens.foo mkTup
= (setField
@"_2" (not (getField @"_2" (mkTup_aoK "baz"))) (mkTup_aoK "bar"))
@"_2" (not (getField @"_2" (mkTup "baz"))) (mkTup "bar"))

View File

@ -77,6 +77,7 @@ runDamlRename damlc damlFile = do
, "--ghc-option=-dumpdir=" <> tempDir
, "--ghc-option=-ddump-file-prefix=o."
, "--ghc-option=-ddump-rn"
, "--ghc-option=-dsuppress-uniques"
, damlFile
]
""