Closed
Bug 816887
Opened 12 years ago
Closed 11 years ago
Macro should always return a String or a Literal
Categories
(L20n :: JS Library, defect, P2)
Tracking
(Not tracked)
RESOLVED
FIXED
1.0
People
(Reporter: stas, Assigned: stas)
Details
The return value of a macro should always be cast to a primitive value (before it is returned).
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → stas
Priority: -- → P2
Target Milestone: --- → 1.0
Assignee | ||
Updated•12 years ago
|
Priority: P2 → P1
Assignee | ||
Updated•11 years ago
|
Priority: P1 → P2
Assignee | ||
Comment 1•11 years ago
|
||
https://github.com/l20n/l20n.js/commit/17a9fb45e255c8725e6443e2ae81c55cb283fe37
While working on this fix I realized that there's a potential for optimization related to locals.__this__. I filed bug 885984.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•