Skip to content

Commit 3490e15

Browse files
author
Kristoffer Carlsson
authored
specialize on the number of varargs for bump_split (#254)
1 parent 4381fa6 commit 3490e15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parse_stream.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ example
738738
TODO: Are these the only cases? Can we replace this general utility with a
739739
simpler one which only splits preceding dots?
740740
"""
741-
function bump_split(stream::ParseStream, split_spec...)
741+
function bump_split(stream::ParseStream, split_spec::Vararg{Any, N}) where {N}
742742
tok = stream.lookahead[stream.lookahead_index]
743743
stream.lookahead_index += 1
744744
b = _next_byte(stream)

0 commit comments

Comments
 (0)