[SR-14963] [C++-Interop] fatal llvm::Error when using operator+ on CGPoint with ObjC & C++ Interop enabled #57305
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
c++ interop
Feature: Interoperability with C++
c++ to swift
Feature → c++ interop: c++ to swift
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
objective-c interop
Feature: Interoperability with Objective-C
Additional Detail from JIRA
md5: 627f57800f88fbd2925717c088588376
Parent-Task:
Issue Description:
This one is fairly strange since I have not been able to reproduce it without importing UIKit. The following fails in swift::ModuleFile::loadAllConformances with a fatal llvm::Error.
But if I were to extract some minimal Objective-C++ and put it in my own Module (Call it MyMinUIKit):
and import MyMinUIKit instead of UIKit, then the above Swift would result in a normal compile error that tells that there is no operator+ in CGPoint:
The command line to run this was:
The text was updated successfully, but these errors were encountered: