File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
module NodeModule
2
2
3
+ using DispatchDoctor: @unstable
4
+
3
5
import .. OperatorEnumModule: AbstractOperatorEnum
4
6
import .. UtilsModule: @memoize_on , @with_memoize , deprecate_varmap, Undefined
5
7
182
184
Base. eltype (:: Type{<:AbstractExpressionNode{T}} ) where {T} = T
183
185
Base. eltype (:: AbstractExpressionNode{T} ) where {T} = T
184
186
185
- constructorof (:: Type{N} ) where {N<: AbstractNode } = Base. typename (N). wrapper
186
- constructorof (:: Type{<:Node} ) = Node
187
- constructorof (:: Type{<:GraphNode} ) = GraphNode
187
+ @unstable constructorof (:: Type{N} ) where {N<: AbstractNode } = Base. typename (N). wrapper
188
+ @unstable constructorof (:: Type{<:Node} ) = Node
189
+ @unstable constructorof (:: Type{<:GraphNode} ) = GraphNode
188
190
189
191
function with_type_parameters (:: Type{N} , :: Type{T} ) where {N<: AbstractExpressionNode ,T}
190
192
return constructorof (N){T}
You can’t perform that action at this time.
0 commit comments