-
Notifications
You must be signed in to change notification settings - Fork 10.6k
Open
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itself
Description
| Previous ID | SR-5012 |
| Radar | rdar://problem/32318829 |
| Original Reporter | @aciidb0mb3r |
| Type | Bug |
Additional Detail from JIRA
| Votes | 0 |
| Component/s | Compiler |
| Labels | Bug |
| Assignee | None |
| Priority | Medium |
md5: 7d678c6e72864c0bbfd6450252c0b0de
Issue Description:
struct Version {
let _version: Int
}
extension Int {
var isEmpty: Bool {
return false
}
}
let kp = \Version._version.isEmpty$ swiftc x.swift
ld: warning: pointer not aligned at address 0x100004644 (l_keypath + 60 from /var/folders/98/0fcj8gms75z3x7_01g5v_m0h0000gn/T/x-295e1d.o)
ld: warning: pointer not aligned at address 0x10000463C (l_keypath + 52 from /var/folders/98/0fcj8gms75z3x7_01g5v_m0h0000gn/T/x-295e1d.o)Metadata
Metadata
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.A deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler itselfThe Swift compiler itself