Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SR-2111] Crash when using variable as a default value for method in class. #4592

swift-ci opened this issue Jul 19, 2016 · 2 comments


Copy link

@swift-ci swift-ci commented Jul 19, 2016

Previous ID SR-2111
Radar rdar://problem/26978985
Original Reporter njuri (JIRA User)
Type Bug
Status Closed
Resolution Done

Xcode 8.0 beta 3
OS X El Capitan 10.11.6

Additional Detail from JIRA
Votes 0
Component/s Compiler, LLDB for Swift
Labels Bug, 3.0Regression, CompilerCrash
Assignee njuri (JIRA)
Priority Medium

md5: f9cca2c1fae9d31635468825fa9df3eb

Issue Description:

let a = 1

// Works ok
func foo(i : Int = a){

class TestClass {
  let b = 3
  // Crashing method
  func bar(j : Int = b){
Copy link

@rudkx rudkx commented Jul 23, 2016

Fixed in commit ee6c0a7.

Copy link

@rudkx rudkx commented Sep 24, 2016

Can you confirm this is fixed, and close if so?

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 7, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

2 participants