后面这个result_for 运行报错:An outline is not available。此时应该怎么处理?
val result_for=for { s <- l s1=s.toUpperCase(); if(s1 != "") }yield (s1) def main(args: Array[String]): Unit = { println(result_for) }