[GHC] #14639: "unresolved constraints" when import and main missing