lionheart / openradar-mirror

A mirror of radars pulled from http://openradar.me/.
245 stars 17 forks source link

50271944: Segmentation fault: 11 when trying to resolve generic function with KeyPath #21219

Closed openradar-mirror closed 5 years ago

openradar-mirror commented 5 years ago

Description

Summary: In comment you can see an example of generic function with KeyPath. And Compiler fails to compile it. This reproduces on lates swift 5 and on older swift 4.2 and Xcode 10.1

Can be fixed by making label a var property

Steps to Reproduce:

  1. Open example project
  2. Try to run it

Expected Results: Example project compiles

Actual Results: Compilation segfaults with error

Version/Build: Xcode 10.2.1 swift 5

- Product Version: 10.2.1, 5.0 Created: 2019-04-27T18:43:14.570959 Originated: 2019-04-27T00:00:00 Open Radar Link: http://www.openradar.me/50271944

openradar-mirror commented 5 years ago

Resolved: - Modified: 2019-04-27T21:13:04.197871

openradar-mirror commented 5 years ago

Resolved: - Modified: 2019-04-27T21:13:04.197871

openradar-mirror commented 5 years ago

Resolved: - Modified: 2019-04-27T21:13:04.197871

openradar-mirror commented 5 years ago

Resolved: - Modified: 2019-04-27T21:13:04.197871

openradar-mirror commented 5 years ago

Resolved: - Modified: 2019-04-27T21:13:04.197871

openradar-mirror commented 5 years ago

Resolved: - Modified: 2019-04-27T21:13:04.197871

openradar-mirror commented 5 years ago

Resolved: - Modified: 2019-04-27T21:13:04.197871

openradar-mirror commented 5 years ago

Resolved: - Modified: 2019-04-27T21:13:04.197871

openradar-mirror commented 5 years ago

Resolved: - Modified: 2019-04-27T21:13:04.197871

openradar-mirror commented 5 years ago

Resolved: - Modified: 2019-04-27T21:13:04.197871

openradar-mirror commented 5 years ago

Resolved: - Modified: 2019-04-27T21:13:04.197871

openradar-mirror commented 5 years ago

Resolved: - Modified: 2019-04-27T21:13:04.197871

openradar-mirror commented 5 years ago

Resolved: - Modified: 2019-04-27T21:13:04.197871

openradar-mirror commented 5 years ago

Resolved: - Modified: 2019-04-27T21:13:04.197871

openradar-mirror commented 5 years ago

Resolved: - Modified: 2019-04-27T21:13:04.197871