We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4209d5d commit e15bd04Copy full SHA for e15bd04
2 files changed
spec/inputs/assign.yue
@@ -127,4 +127,9 @@ do
127
a |= 7
128
a ^= 8
129
130
+do
131
+ type or= (v) ->
132
+ type = type v
133
+ type
134
+
135
nil
spec/outputs/assign.lua
@@ -204,5 +204,11 @@ return _(function()
204
a = a | 7
205
a = a ^ 8
206
end
207
+ do
208
+ local type = type or function(v)
209
+ local type = type(v)
210
+ return type
211
+ end
212
213
return nil
214
end)
0 commit comments