@@ -142,7 +142,6 @@ data SimpleErrorMessage
142142 | UnusedDctorExplicitImport (ProperName 'TypeName) [ProperName 'ConstructorName]
143143 | DeprecatedOperatorDecl String
144144 | DeprecatedOperatorSection Expr (Either Expr Expr)
145− | DeprecatedQualifiedSyntax ModuleName ModuleName
146145 | DeprecatedClassImport ModuleName (ProperName 'ClassName)
147146 | DeprecatedClassExport (ProperName 'ClassName)
148147 | DuplicateSelectiveImport ModuleName
@@ -331,7 +330,6 @@ errorCode em = case unwrapErrorMessage em of
331330 UnusedDctorExplicitImport{} -> "UnusedDctorExplicitImport"
332331 DeprecatedOperatorDecl{} -> "DeprecatedOperatorDecl"
333332 DeprecatedOperatorSection{} -> "DeprecatedOperatorSection"
334− DeprecatedQualifiedSyntax{} -> "DeprecatedQualifiedSyntax"
335333 DeprecatedClassImport{} -> "DeprecatedClassImport"
336334 DeprecatedClassExport{} -> "DeprecatedClassExport"
337335 DuplicateSelectiveImport{} -> "DuplicateSelectiveImport"
@@ -463,8 +461,6 @@ errorSuggestion err = case err of
463461 UnusedImport{} -> emptySuggestion
464462 RedundantEmptyHidingImport{} -> emptySuggestion
465463 DuplicateImport{} -> emptySuggestion
466− DeprecatedQualifiedSyntax name qualName -> suggest $
467− "import " ++ runModuleName name ++ " as " ++ runModuleName qualName
468464 UnusedExplicitImport mn _ qual refs -> suggest $ importSuggestion mn refs qual
469465 ImplicitImport mn refs -> suggest $ importSuggestion mn refs Nothing
470466 ImplicitQualifiedImport mn asModule refs -> suggest $ importSuggestion mn refs (Just asModule)
@@ -951,13 +947,6 @@ prettyPrintSingleError full level showWiki e = flip evalState defaultUnknownMap
951947 renderOperator (PositionedValue _ _ ex) = renderOperator ex
952948 renderOperator (Var (Qualified _ (Op ident))) = line ident
953949 renderOperator other = Box.hcat Box.top [ line "`", prettyPrintValue valueDepth other, line "`" ]
954− renderSimpleErrorMessage (DeprecatedQualifiedSyntax name qualName) =
955− paras [ line "Import uses the deprecated 'qualified' syntax:"
956− , indent $ line $ "import qualified " ++ runModuleName name ++ " as " ++ runModuleName qualName
957− , line "Should instead use the form:"
958− , indent $ line $ "import " ++ runModuleName name ++ " as " ++ runModuleName qualName
959− , line "The deprecated syntax will be removed in PureScript 0.9."
960− ]
961950
962951 renderSimpleErrorMessage (DeprecatedClassImport mn name) =
963952 paras [ line $ "Class import from " ++ runModuleName mn ++ " uses deprecated syntax that omits the 'class' keyword:"