facebook / facebook/hhvm

Assertion failure when using list in hphpd with same-named function and class

Open
#6,163 3 comments 0 reactions 0 assignees View on GitHub
crash
Dominant language
C++
Stars
18.7k
Forks
3.1k
Avg merge
1h 47m
Merged PRs (30d)
2

Description

In test.php:

``` hack
run
Program test.php exited normally.
hphpd> list Bloo

Assertion failure: hphp/runtime/debugger/cmd/cmd_list.cpp:186: listFunctionOrClass: assertion `info.size() == 1' failed.
```

I think hphpd already has infrastructure to offer a choice between options, which is probably what we should do here.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.