Swift 2b2: swiftc crash with generic function inside non-generic method of generic type

Originator:rix.rob
Number:rdar://21671325 Date Originated:03-Jul-2015 02:58 PM
Status:Open Resolved:
Product:Developer Tools Product Version:Xcode-beta (7A121l)
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
Welp

Steps to Reproduce:
This code:
struct S<T> {
	func f() {
		func g<U>(_: U) {}
	}
}

Expected Results:
should not crash swiftc

Actual Results:
but totally does.

Regression:
N/A

Notes:
N/A

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!