Skip to content

scope of keyword argument default values #17240

Closed
@longqian95

Description

a=1
f(;a=a)=a
f() will generate "UndefVarError" error.
There is no problem if it is a normal argument.

Metadata

Assignees

Labels

breakingThis change will break codedesignDesign of APIs or of the language itselfkeyword argumentsf(x; keyword=arguments)

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions