-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorparserLanguage parsing and surface syntaxLanguage parsing and surface syntax
Description
This seems inconsistent (from discourse):
julia> function foo(::Dict{}); end
foo (generic function with 1 method)
julia> function(::Dict{}); end
ERROR: syntax: expected "(" in function definition
Stacktrace:
[1] top-level scope
@ none:1
julia> function(::Dict); end
#5 (generic function with 1 method)
julia> (::Dict{}) -> nothing
#9 (generic function with 1 method)
Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorparserLanguage parsing and surface syntaxLanguage parsing and surface syntax