View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000250 | LDMud 3.6 | LPC Compiler/Preprocessor | public | 2004-11-26 23:00 | 2020-01-09 00:00 |
Reporter | Assigned To | Gnomi | |||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Product Version | 3.2.8 and before | ||||
Fixed in Version | 3.6.1 | ||||
Summary | 0000250: Casts should just check types, not convert them | ||||
Description | Short: Casts should just check types, not convert them. From: Lars Date: 2001-06-10 State: New A cast just should generate an instruction to check the casted type at runtime, but otherwise not convert it. | ||||
Tags | No tags attached. | ||||
related to | 0000645 | new | LDMud 3.3 | casting structs (to 'inherited struct') does nothing |
|
So assume a (int)a would check if a is of type int. What should be the reaction if it is not? Runtime error, runtime warning, message into the debug log? |
|
This is now the behavior of declarative casts with runtime type checks enabled. |
Date Modified | Username | Field | Change |
---|---|---|---|
2004-11-26 23:00 |
|
New Issue | |
2009-11-05 14:06 | zesstra | Relationship added | related to 0000645 |
2010-02-15 18:22 | zesstra | Note Added: 0001734 | |
2020-01-08 23:59 | Gnomi | Assigned To | => Gnomi |
2020-01-08 23:59 | Gnomi | Status | new => assigned |
2020-01-08 23:59 | Gnomi | Project | LDMud => LDMud 3.6 |
2020-01-09 00:00 | Gnomi | Status | assigned => resolved |
2020-01-09 00:00 | Gnomi | Resolution | open => fixed |
2020-01-09 00:00 | Gnomi | Fixed in Version | => 3.6.1 |
2020-01-09 00:00 | Gnomi | Note Added: 0002495 |