[SR-10436] type(of: bla).AChildClass()
crashes the compiler when AChildClass
is defined in an extension in an external module
#52836
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
regression
swift 5.0
Additional Detail from JIRA
md5: e2f9b4a34e8b58a8e70d5482125eca7c
Issue Description:
I have uploaded a SwiftPM package here: https://github.com/marcrasi/fastai_docs/tree/f9632e6ee37717446051b00634f4201180f778c5/Reduced
You can reproduce the crash by cd'ing to the directory and running `swift run`.
I have tried a few different versions of Swift:
Swift 5.0 on Ubuntu 18.04: crash
swift-DEVELOPMENT-SNAPSHOT-2019-04-07-a-ubuntu18.04.tar.gz: crash
Swift 4.2.4 on Ubuntu 18.04: no crash
The crash message is:
The text was updated successfully, but these errors were encountered: