@@ -55,12 +55,12 @@ import Stan.Core.Id (Id (..))
5555import Stan.Inspection (Inspection (.. ), InspectionAnalysis (.. ), InspectionsMap , categoryL ,
5656 descriptionL , severityL , solutionL )
5757import Stan.NameMeta (NameMeta (.. ), baseNameFrom , mkBaseFoldableMeta , mkBaseOldListMeta ,
58- textNameFrom , unorderedNameFrom )
58+ primTypeMeta , textNameFrom , unorderedNameFrom )
5959import Stan.Pattern.Ast (Literal (.. ), PatternAst (.. ), anyNamesToPatternAst , app ,
6060 namesToPatternAst , opApp , range )
6161import Stan.Pattern.Edsl (PatternBool (.. ))
62- import Stan.Pattern.Type (PatternType , foldableMethodsPatterns , foldableTypesPatterns , listPattern ,
63- stringPattern , textPattern , (|->) , (|::) )
62+ import Stan.Pattern.Type (PatternType , charPattern , foldableMethodsPatterns , foldableTypesPatterns ,
63+ listPattern , stringPattern , textPattern , (|->) , (|::) )
6464import Stan.Severity (Severity (.. ))
6565
6666import qualified Data.List.NonEmpty as NE
@@ -329,7 +329,7 @@ filepathOperator = PatternAstName operatorPosix fun
329329 filePathType :: PatternType
330330 filePathType = " FilePath" `baseNameFrom` " GHC.IO" |:: []
331331 ||| stringPattern
332- -- | || primTypeMeta "[]" |:: [ charPattern ]
332+ ||| primTypeMeta " []" |:: [ charPattern ]
333333
334334-- | 'Inspection' — usage of @unsafe*@ functions @STAN-0212@.
335335stan0212 :: Inspection
0 commit comments