Merge pull request #4532 from eatkins/system-lint

System lint
This commit is contained in:
eugene yokota 2019-01-31 20:23:44 -05:00 committed by GitHub
commit 986abb3882
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ object Transform {
case DependsOn(in, deps) => uniform(existToAny(deps))(const(Left(in)) compose all)
case Join(in, f) => uniform(in)(f)
}
def inline[T](t: Task[T]) = t.work match {
def inline[T](t: Task[T]): Option[() => T] = t.work match {
case Pure(eval, true) => Some(eval)
case _ => None
}