Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialization syntax #70

Open
JeneLitsch opened this issue Jan 31, 2023 · 1 comment
Open

Initialization syntax #70

JeneLitsch opened this issue Jan 31, 2023 · 1 comment
Assignees
Labels
new feature New feature or request

Comments

@JeneLitsch
Copy link
Owner

JeneLitsch commented Jan 31, 2023

Struct:

var a = [
    .foo = 1337,
    .bar = 42,
];

Map

var a = [
    ["foo"] = 1337,
    ["bar"] = 42,
];
@JeneLitsch JeneLitsch changed the title Struct initialization Initialization syntax Jan 31, 2023
@JeneLitsch JeneLitsch self-assigned this Feb 9, 2023
@JeneLitsch JeneLitsch added the new feature New feature or request label Feb 9, 2023
@JeneLitsch
Copy link
Owner Author

Done for structs!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant