Skip to content
Snippets Groups Projects
Commit a0c71ccf authored by Emmanouil (Manos) Koukoutos's avatar Emmanouil (Manos) Koukoutos Committed by Etienne Kneuss
Browse files

BaseGrammar should not produce GenericValues

parent 617a070d
No related branches found
No related tags found
No related merge requests found
...@@ -95,10 +95,6 @@ object ExpressionGrammars { ...@@ -95,10 +95,6 @@ object ExpressionGrammars {
Generator(List(Int32Type, Int32Type), { case Seq(a,b) => Times(a, b) }) Generator(List(Int32Type, Int32Type), { case Seq(a,b) => Times(a, b) })
) )
case tp@TypeParameter(_) =>
for (ind <- (1 to 3).toList) yield
Generator[TypeTree, Expr](Nil, { _ => GenericValue(tp, ind) } )
case TupleType(stps) => case TupleType(stps) =>
List(Generator(stps, { sub => Tuple(sub) })) List(Generator(stps, { sub => Tuple(sub) }))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment