forked from GitHub/gf-core
Report many type errors instead of stopping after the first one
In GF.Compile.CheckGrammar, use a new topological sorting function that groups independent judgements, allowing them all to be checked before continuing or reporting errors.
This commit is contained in:
@@ -23,7 +23,7 @@ module GF.Data.Relation (Rel, mkRel, mkRel'
|
||||
, isTransitive, isReflexive, isSymmetric
|
||||
, isEquivalence
|
||||
, isSubRelationOf
|
||||
, topologicalSort) where
|
||||
, topologicalSort, findCycles) where
|
||||
|
||||
import Data.Foldable (toList)
|
||||
import Data.List
|
||||
|
||||
Reference in New Issue
Block a user