diff --git a/src/frontend/specification/StenoGraphs.jl b/src/frontend/specification/StenoGraphs.jl index 67bb7973c..76bd69e06 100644 --- a/src/frontend/specification/StenoGraphs.jl +++ b/src/frontend/specification/StenoGraphs.jl @@ -68,6 +68,13 @@ function ParameterTable( ) end if element isa ModifiedEdge + if any(Base.Fix2(isa, Fixed), values(element.modifiers)) & any(Base.Fix2(isa, Label), values(element.modifiers)) + throw( + ArgumentError( + "It is not allowed to label fixed parameters." + ) + ) + end for modifier in values(element.modifiers) modval = modifier.value[group] if modifier isa Fixed