-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
No overload matches StaticArray #1203
Comments
Related to #934 |
I think the |
#triage This was reported against Crystal 0.7.6. Running this code against 0.16.0 produces a Syntax error on the double-colon: https://play.crystal-lang.org/#/r/yfc Replacing the
This message is located in 3 locations:
making it a little more difficult in tracing exactly which one is being triggered. |
This usecase of |
* master: (69 commits) Fixed: splat restriction and double splat restriction didn't match empty tuple/named-tuple Fixed crystal-lang#1203: allow using free var to match the size of a static array Updated Changelog Compiler: don't remove old directories when compiling macro run programs. Related to crystal-lang#2625 Fixed crystal-lang#2624: Running multiple macro runs doesn't work Docker: Preinstall git in released docker image Update and fix TypeNode macro method docs Fixed wrong datatype in 0.17 branch Docs: use `*` and `**` before type argument for Tuple and NamedTuple Docs: use `*` and `**` before type argument for Tuple and NamedTuple Compiler: allow a double splat restriction on a double splat argument Compiler: allow a splat restriction on a splat argument Compiler: allow restriction in double splat Compiler: guess type from captured block without restriction Fixed crystal-lang#731: initialize's default arguments are incorrectly evaluated at the class scope Fixed crystal-lang#2619: wrong codegen for global variable assignment in type declaration Compiler: allow a double splat restriction on a double splat argument Compiler: allow a splat restriction on a splat argument Compiler: allow restriction in double splat Compiler: guess type from captured block without restriction ...
The code at http://play.crystal-lang.org/#/r/bm0 causes
no overload matches 'fn' with types StaticArray(Int32, 10)
The text was updated successfully, but these errors were encountered: