link: cleanup lazy symbols
We now only update one lazy symbol in flushModule. Updating the rest from updateDecl is TBD.
This commit is contained in:
@@ -555,7 +555,7 @@ pub const Decl = struct {
|
||||
_,
|
||||
|
||||
pub fn init(oi: ?Index) OptionalIndex {
|
||||
return oi orelse .none;
|
||||
return @intToEnum(OptionalIndex, @enumToInt(oi orelse return .none));
|
||||
}
|
||||
|
||||
pub fn unwrap(oi: OptionalIndex) ?Index {
|
||||
|
||||
Reference in New Issue
Block a user