Skip to content

Commit fe3ce38

Browse files
committed
where hack
1 parent 2b0e7f2 commit fe3ce38

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/utils.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ longdef(ex) = prewalk(longdef1, ex)
209209
function shortdef1(ex)
210210
@match ex begin
211211
function f_(args__) body_ end => @q $f($(args...)) = $body
212+
function f_(args__) where T__ body_ end => @q $f($(args...)) where $(T...) = $body
212213
function f_(args__)::rtype_ body_ end => @q $f($(args...))::$rtype = $body
213214
function (args__,) body_ end => @q ($(args...),) -> $body
214215
((args__,) -> body_) => ex

0 commit comments

Comments
 (0)