Skip to content

Commit b76ed8e

Browse files
committed
stream from any type?
1 parent 1400852 commit b76ed8e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

R#/Runtime/Internal/objects/dataset/pipeline.vb

+3
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,9 @@ Namespace Runtime.Internal.Object
307307
Return upstream
308308
ElseIf GetType(T).IsInterface AndAlso DirectCast(upstream, pipeline).elementType.raw.ImplementInterface(Of T) Then
309309
Return upstream
310+
ElseIf DirectCast(upstream, pipeline).elementType Is RType.any Then
311+
Call "the given upstream pipeline is a stream of generic object collection".Warning
312+
Return upstream
310313
Else
311314
Return Message.InCompatibleType(GetType(T), DirectCast(upstream, pipeline).elementType.raw, env,
312315
suppress:=suppress,

0 commit comments

Comments
 (0)