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

Attempt to access 0-element Array inside is_stable_call #7

Open
ulysses4ever opened this issue Jan 8, 2021 · 1 comment
Open

Attempt to access 0-element Array inside is_stable_call #7

ulysses4ever opened this issue Jan 8, 2021 · 1 comment
Labels
bug Something isn't working p:low

Comments

@ulysses4ever
Copy link
Collaborator

I observe it on the Pluto package:

[ Info: [Stability] About to start analysis
ERROR: BoundsError: attempt to access 0-element Array{Any,1} at index [1]
Stacktrace:
 [1] getindex at ./array.jl:809 [inlined]
 [2] is_stable_call(::Any, ::Any) at /home/artem/stability/repo/Stability/src/Stability.jl:48
 [3] is_stable_instance(::Core.MethodInstance) at /home/artem/stability/repo/Stability/src/Stability.jl:88
 [4] module_stats(::Module) at /home/artem/stability/repo/Stability/src/Stability.jl:144
 [5] top-level scope at none:23
@ulysses4ever ulysses4ever added bug Something isn't working p:high labels Jan 8, 2021
@ulysses4ever
Copy link
Collaborator Author

Generic mitigation for this kind of issue (@code_typed produces empty result) is in 709bbee.

@ulysses4ever ulysses4ever added p:low and removed p:high labels Jan 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working p:low
Projects
None yet
Development

No branches or pull requests

1 participant