Commit Graph

22 Commits

Author SHA1 Message Date
Laurenz be49935753
Destructuring improvements (#3463) 2024-02-21 08:38:47 +00:00
f3rn0s f1495de8bb
Add module -> dictionary conversion (#3428)
Co-authored-by: f3rn0s <finn@volkis.com.au>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
Co-authored-by: Ilia <43654815+istudyatuni@users.noreply.github.com>
2024-02-20 13:55:06 +00:00
Leedehai 17d687b6a2
Better errors for array/dictionary method calls that return mutable (#3370) 2024-02-11 13:08:43 +00:00
Leedehai 6a9866dc80
Update dictionary.insert() doc and tests (#3343) 2024-02-05 09:42:47 +00:00
Leedehai 39e53fcdc9
Clarify the way to access functions from dictionaries (#3064)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2024-01-02 09:13:45 +00:00
voidiz 4e5afa672f
Suggest accessing field if method doesn't exist (#2977) 2023-12-28 14:28:04 +00:00
Matt Fellenz 8fd546760c
Implement dict key interpolation (#2559) 2023-11-02 17:08:08 +01:00
Sébastien d'Herbais de Thun a8af6b449a
Adds a default value to `.remove()` on `dict` and `array` (#2346) 2023-10-10 11:44:59 +02:00
Laurenz 305524d005 Update tests for type system changes 2023-09-11 14:42:43 +02:00
Simon Rask 046029b1e2
Add hint for missing method error for dictionary where a field with a function is present (#1922) 2023-08-21 16:26:05 +02:00
Pg Biel 5bd97e218b
Update field mutation error message (#1742) 2023-07-26 23:03:33 +02:00
Laurenz 3d83960322 Fix removal order for dictionary
Switches to `shift_remove` for now. In the future, we should look into a more efficient implementation. Fixes #1258.
2023-05-22 13:10:48 +02:00
Michael Lohr ffad8516af
Implement default values for at() (#995) 2023-05-03 12:34:35 +02:00
Leedehai dc3017955a
Give more specific error messages (#881) 2023-04-19 13:26:55 +02:00
Laurenz 12be8fe070 Let dictionaries respect insertion order 2023-04-11 21:59:02 +02:00
Laurenz 028632a3a1 Fix error handling after hashtag 2023-02-17 16:32:48 +01:00
Laurenz 4809e685a2 More capable math calls 2023-01-28 15:36:32 +01:00
Laurenz a8fd64f928 Hashtags everywhere! 2023-01-27 11:54:30 +01:00
Laurenz 2b8426b1b3 Interpret methods on modules as functions in modules 2023-01-23 13:26:10 +01:00
Laurenz dd331f007c Rewrite parser 2023-01-20 14:05:35 +01:00
Laurenz f70cea508c Remove index syntax in favor of accessor methods 2022-12-30 16:45:41 +01:00
Laurenz 0efe669278 Reorganize library and tests 2022-11-29 14:18:13 +01:00