[fty] deftagsum error not as clear as it could be
- Ngôn ngữ chính
- Common Lisp
- Star
- 447
- Fork
- 127
- Merge trung bình
- 22 giờ 44 phút
- Pull request đã merge (30 ngày)
- 18
Mô tả
The following error is a bit misleading. It'd be clearer to say that venue-p doesn't have a definition.
```
HARD ACL2 ERROR in FTY::GET-TYPE-AND-FIX: Type VENUE-P doesn't have
an associated fixing function. Please provide that association using
FTY::DEFFIXTYPE.
```
The code to generate the error:
```
(include-book "std/top" :dir :system)
(include-book "centaur/fty/deftypes" :dir :system)
(std::defenum venue
(:stadium :convention-center :outdoors))
(fty::deftagsum sport
(:blurnball ((venue venue-p)))
(:golf ((venue venue-p)))
(:basketball ((venue venue-p)))
(:chess ())) ; no venue
```
I'm leaving unassigned -- I assume I can fix this pretty easily at some point.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.