feat: Add support for for comprehensions. (#935)
This commit is contained in:
parent
6883d15576
commit
72f0a426b8
5 changed files with 162 additions and 7 deletions
|
|
@ -67,6 +67,10 @@ object StreamOperatorsIndexGenerator extends AutoPlugin {
|
|||
"actorPublisher",
|
||||
"addAttributes",
|
||||
"mapMaterializedValue",
|
||||
// for comprehensions
|
||||
"withFilter",
|
||||
"flatMap",
|
||||
"foreach",
|
||||
// *Graph:
|
||||
"concatGraph",
|
||||
"prependGraph",
|
||||
|
|
@ -108,7 +112,7 @@ object StreamOperatorsIndexGenerator extends AutoPlugin {
|
|||
"foldAsync",
|
||||
"newOnCompleteStage"))
|
||||
|
||||
val ignore =
|
||||
val ignore = {
|
||||
Set("equals", "hashCode", "notify", "notifyAll", "wait", "toString", "getClass") ++
|
||||
Set("productArity", "canEqual", "productPrefix", "copy", "productIterator", "productElement") ++
|
||||
Set(
|
||||
|
|
@ -123,6 +127,7 @@ object StreamOperatorsIndexGenerator extends AutoPlugin {
|
|||
"transformMaterializing") ++
|
||||
Set("asScala", "asJava", "deprecatedAndThen", "deprecatedAndThenMat") ++
|
||||
Set("++", "onPush", "onPull", "actorRefWithAck")
|
||||
}
|
||||
|
||||
def isPending(element: String, opName: String) =
|
||||
pendingTestCases.get(element).exists(_.contains(opName))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue