Closed
Bug 803627
Opened 13 years ago
Closed 13 years ago
Compiler: entity's index is empty if you call entity.toString() a second time
Categories
(L20n :: JS Library, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
1.0
People
(Reporter: stas, Assigned: stas)
References
Details
Passing this.index by reference and then shifting it is not a good idea.
| Assignee | ||
Comment 1•13 years ago
|
||
Props to Gandalf for catching this. Fixed here:
https://github.com/l20n/l20n.js/commit/a26d8fd32c4af483dc1cf81517d6a48432d34069
I'm leaving the bug open to follow up with a testcase.
Assignee: nobody → stas
| Assignee | ||
Updated•13 years ago
|
Priority: -- → P3
Target Milestone: --- → 1.0
| Assignee | ||
Comment 2•13 years ago
|
||
This is partly blocked by bug 810817. The Python parser doesn't support indexes on attributes, so I can only write the testcase for entity's index.
Depends on: 810817
| Assignee | ||
Comment 3•13 years ago
|
||
Closing, I'll write the test case when I fix the test runner.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•