We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5a262a commit 6873d82Copy full SHA for 6873d82
1 file changed
src/main/java/org/bridj/cpp/CPPRuntime.java
@@ -674,7 +674,9 @@ public boolean accept(Symbol symbol) {
674
}
675
});
676
if (symbol == null) {
677
- if (debug) {
+ if (constructorId >= 0) {
678
+ throw new RuntimeException("No matching constructor for " + Utils.toString(type) + " (" + constr + ")");
679
+ } else if (debug) {
680
BridJ.info("No matching constructor for " + Utils.toString(type) + " (" + constr + ")");
681
682
return null;
0 commit comments