diff options
| author | Matthew Pickering <matthewtpickering@gmail.com> | 2021-12-31 12:33:53 +0000 |
|---|---|---|
| committer | Matthew Pickering <matthewtpickering@gmail.com> | 2021-12-31 12:33:53 +0000 |
| commit | 32c27e57e850c9a32a7192593a6d60e18135ed68 (patch) | |
| tree | e4da7c7b5a455cfb8f885b0699c302b1a93fea09 | |
| parent | 2adf111f8d015453662ff2bdb0239601f9181716 (diff) | |
| download | haskell-32c27e57e850c9a32a7192593a6d60e18135ed68.tar.gz | |
Add comment
| -rw-r--r-- | compiler/GHC/Tc/Utils/TcMType.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/GHC/Tc/Utils/TcMType.hs b/compiler/GHC/Tc/Utils/TcMType.hs index ee99cafbda..3e0ff7adb5 100644 --- a/compiler/GHC/Tc/Utils/TcMType.hs +++ b/compiler/GHC/Tc/Utils/TcMType.hs @@ -932,6 +932,8 @@ readMetaTyVar tyvar = assertPpr (isMetaTyVar tyvar) (ppr tyvar) $ isFilledMetaTyVar_maybe :: TcTyVar -> TcM (Maybe Type) isFilledMetaTyVar_maybe tv +-- TODO: This should be an assertion that tv is definitely a TcTyVar but it fails +-- at the moment (Jan 22) | isTcTyVar tv , MetaTv { mtv_ref = ref } <- tcTyVarDetails tv = do { cts <- readTcRef ref |
