Details
-
Type:
Enhancement
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: Release 1.3
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Environment:Any
-
Patch:Code and Test
Description
Add a pseudo-variable (similar to *file*), containing the current line number. This should be available during AOT compilation. The name "*line-number*" might be good.
It will be useful for diagnostic log messages. Using exception stack traces has poor runtime performance and the line number should be available to the compiler at minimal cost.
Attachments
Activity
Steve Miner
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Description |
Add a pseudo-variable (similar to *file*), containing the current line number. This should be available during AOT compilation. The name "*line-number*" might be good.
It will be useful for diagnostic log messages. Using exception stack traces has poor runtime performance and the line number should be available to the compiler at minimal cost. |
Add a pseudo-variable (similar to \*file*), containing the current line number. This should be available during AOT compilation. The name "\*line-number*" might be good.
It will be useful for diagnostic log messages. Using exception stack traces has poor runtime performance and the line number should be available to the compiler at minimal cost. |
Peter Siewert
made changes -
| Attachment | CLJ-849-line-number-pesudo-variable.diff [ 11678 ] |
Peter Siewert
made changes -
| Patch | Code and Test [ 10002 ] |