-
Notifications
You must be signed in to change notification settings - Fork 1
PAR004
ricardoboss edited this page Nov 16, 2023
·
2 revisions
This error occurs when the index operator is used on a type that does not support it.
Example:
number a = 1
println(a[0])
Ensure that the type supports the index operator.
- number a = 1
+ string a = "1"
println(a[0])
or
- number a = 1
+ list a = [1]
println(a[0])
© 2023 Ricardo Boss • Licensed under MIT • Want to update this page? Edit it on GitHub and submit a pull request!