You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
swift-ci opened this issue
Mar 23, 2018
· 5 comments
Assignees
Labels
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of software
Assertion failed: (address.isLValue() && "physical lvalue decl ref must evaluate to an address"), function emitLValueForNonMemberVarDecl, file /Volumes/Data/swift-public/swift/lib/SILGen/SILGenLValue.cpp, line 2276.
Confirmed fixed. Nice work and thank you, @gregomni!
/Users/dra/projects/swift-fundamentals/SwiftFundamentals-Tests/CompilerBugs/SR7874.swift:17:41: error: 'let' pattern binding must match previous 'var' pattern binding
case var n where n.count == 10, let n:
~~~ ^
var
bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.compilerThe Swift compiler in itselfcrashBug: A crash, i.e., an abnormal termination of software
Attachment: Download
Additional Detail from JIRA
md5: d470f571f5745a3d9eab407d950e70d3
Issue Description:
The following code, with `let` and `var` value bindings in the same case causes the swift compiler to `SIGSEGV`.
The text was updated successfully, but these errors were encountered: