Skip to content

Instantly share code, notes, and snippets.

@windoze
Created September 15, 2015 07:45
Show Gist options
  • Save windoze/16957d7aab3f246d4cda to your computer and use it in GitHub Desktop.
Save windoze/16957d7aab3f246d4cda to your computer and use it in GitHub Desktop.
Swift 2 compiler bug
struct A<T1, T2> {
var f:B<T1, T2>
var b:B<T2, T1>
var v:T1
}
struct B<T1, T2> {
}
@windoze
Copy link
Author

windoze commented Sep 15, 2015

Swift compiler in Xcode 7.0 (7A218) seg fault
Code does compile if I remove var v:T1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment