summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Pickering <matthewtpickering@gmail.com>2021-12-31 12:33:53 +0000
committerMatthew Pickering <matthewtpickering@gmail.com>2021-12-31 12:33:53 +0000
commit32c27e57e850c9a32a7192593a6d60e18135ed68 (patch)
treee4da7c7b5a455cfb8f885b0699c302b1a93fea09
parent2adf111f8d015453662ff2bdb0239601f9181716 (diff)
downloadhaskell-32c27e57e850c9a32a7192593a6d60e18135ed68.tar.gz
Add comment
-rw-r--r--compiler/GHC/Tc/Utils/TcMType.hs2
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