Closed
Bug 1257191
Opened 10 years ago
Closed 7 years ago
Investigate compiler optimization error related to lazy property on LoginTableViewCell
Categories
(Firefox for iOS :: General, defect)
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: sleroux, Unassigned)
Details
(Whiteboard: [compilerissue][lang=swift])
When turning on compiler optimizations, the highlighted label lazy var property [1] causes a double delloc error when made internal when dequeuing the cell from the Logins list VC. Early testing indicated that the constraint setup closures we use for SnapKit might have something to do with how the compiler optimizes this lazy var. See https://bugzilla.mozilla.org/show_bug.cgi?id=1254267 for additional info.
[1] https://github.com/mozilla/firefox-ios/blob/master/Client/Frontend/Widgets/LoginTableViewCell.swift#L60
| Reporter | ||
Updated•10 years ago
|
Whiteboard: [compilerissue][lang=swift]
Comment 1•10 years ago
|
||
Worth sharing this with the Swift compiler team.
| Reporter | ||
Comment 2•10 years ago
|
||
Mentioned it to Joe here: https://twitter.com/stephanleroux/status/707298322319540226
I think part of the investigation would be to distill this into a sample for them to check out.
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•