BoolExpr should be initializable with C++ boolean values
Open
- Dominant language
- C++
- Stars
- 335
- Forks
- 88
- Avg merge
- 1h 28m
- Merged PRs (30d)
- 1
Description
This code works:
```
LinIntExpr e = 0;
```
but this code fails:
```
BoolExpr e = false;
```
It seems that it should be possible to initialize BoolExpr with a C++ boolean value.
Contributor guide
No contributing guide indexed for this repository
Research direction
Search the C++ API implementation and existing tests for LinIntExpr and BoolExpr construction, then compare how integer and boolean literals are handled. Confirm the intended BoolExpr forms for true and false, add coverage for those initializations, and verify the existing LinIntExpr example remains valid.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- api
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100