Commit 6061d46
committed
C++Interop: Don't create default argument expressions that are templated
SwiftDeclSynthesizer::makeDefaultArgument does not create substituion map while
creating the implicit FuncDecl which leads to TypeChecker complaining about
the absence when there are type parameters. Avoid importing such C++ functions for now.1 parent b7c4ef4 commit 6061d46
1 file changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2633 | 2633 | | |
2634 | 2634 | | |
2635 | 2635 | | |
| 2636 | + | |
2636 | 2637 | | |
2637 | 2638 | | |
2638 | | - | |
| 2639 | + | |
| 2640 | + | |
2639 | 2641 | | |
2640 | 2642 | | |
2641 | 2643 | | |
| |||
0 commit comments