Skip to content

Commit

Permalink
also catch CDEMatch errors fixes #3
Browse files Browse the repository at this point in the history
  • Loading branch information
colinschmidt authored and zhemao committed Jun 7, 2016
1 parent 6494194 commit dc0537b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/scala/Parameters.scala
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ abstract class World(
try topDefs(pname, site, here)
catch {
case e:scala.MatchError => throw new ParameterUndefinedException(pname, e)
case e:CDEMatchError => throw new ParameterUndefinedException(pname, e)
}
) match {
case k:Knob[T @unchecked] => ExVar[T](_VarKnob[T](k.name))
Expand Down

0 comments on commit dc0537b

Please sign in to comment.