Skip to content

Commit

Permalink
feat: Infer variable type from its initial value
Browse files Browse the repository at this point in the history
closes #194
  • Loading branch information
giann committed Sep 27, 2023
1 parent 8b19868 commit 6d8ebac
Show file tree
Hide file tree
Showing 6 changed files with 168 additions and 32 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
- `map.sort`, `map.forEach`, `map.map`, `map.filter`, `map.reduce`, `map.diff`, `map.intersect`, `map.clone`
- `list.clone`
- Number literals can embed `_`: `1_000_000.300_245`
- Type can be inferred when declaring a variable/constant with the `var` or `const` keyword: `var something = "hello"`

## Changed

Expand Down
Binary file modified example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 6d8ebac

Please sign in to comment.