Skip to content

Commit

Permalink
comment cleanup;
Browse files Browse the repository at this point in the history
  • Loading branch information
greenhat committed May 31, 2019
1 parent db7f1a3 commit 4b3ee12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/sigmastate/eval/TreeBuilding.scala
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ trait TreeBuilding extends RuntimeCosting { IR: IRContext =>
val colSym = receiver.asInstanceOf[Rep[Coll[Any]]]
val args = argsSyms.map(_.asInstanceOf[Sym]).map(recurse)
val col = recurse(colSym).asCollection[SType]
val colTpe = col.tpe // elemToSType(colSym.elem).asCollection
val colTpe = col.tpe
val method = SCollection.methods.find(_.name == m.getName).getOrElse(error(s"unknown method Coll.${m.getName}"))
val typeSubst = (method, args) match {
case (mth @ SCollection.FlatMapMethod, Seq(f)) =>
Expand Down

0 comments on commit 4b3ee12

Please sign in to comment.