About antlrcpp::Any derived.
Open
- Dominant language
- C++
- Stars
- 80
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
There are the following codes:
```
class A {};
class B : public A {};
B *b = new B;
antlrcpp::Any any = b;
bool is = any.is();
```
Variable ìs' always `false'. How do I solve this type of derivation problem?
Contributor guide
Research direction
Start at the antlrcpp::Any implementation and its is() entry point, then reproduce the supplied A/B pointer example. Done means the expected behavior for checking a base-class pointer is resolved, with coverage for this derivation case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100