📄 overload-01.testie
字号:
%infoTest simple overloadings%scriptclick -e 'elementclass Foo { $a, $b | input -> Print(1) -> output|| $a, __REST__ $b | input -> Print(2) -> output|| $a, TWO $b, __REST__ $c | input -> Print(3) -> output}InfiniteSource(DATA "", LIMIT 1, STOP true) -> Foo(A) -> f::Foo(A, TWO B)elementclass Foo { $a, $b | input -> Print(4) -> output|| ...}f -> Foo(A, B) -> Foo(A, B, C) -> Discard'click-flatten -e 'elementclass Foo { $a, $b | input -> Print(1) -> output|| $a, __REST__ $b | input -> Print(2) -> output|| $a, TWO $b, __REST__ $c | input -> Print(3) -> output}InfiniteSource(DATA "", LIMIT 1, STOP true) -> Foo(A) -> f::Foo(A, TWO B)elementclass Foo { $a, $b | input -> Print(4) -> output|| ...}f -> Foo(A, B) -> Foo(A, B, C) -> Discard' | click%expect stderr2: 0 |1: 0 |4: 0 |2: 0 |2: 0 |1: 0 |4: 0 |2: 0 |
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -