Commit 06e4991e authored by Branislav Katreniak's avatar Branislav Katreniak

compat/json: fix REQUIRE messages in decodeField

parent 22c1b628
......@@ -534,10 +534,10 @@ void decodeField(Type type, JsonValue::Reader value, SetFn setFn, DecodeArrayFn
}
break;
case schema::Type::INTERFACE:
KJ_FAIL_REQUIRE("don't know how to JSON-encode capabilities; "
KJ_FAIL_REQUIRE("don't know how to JSON-decode capabilities; "
"JsonCodec::Handler not implemented yet :(");
case schema::Type::ANY_POINTER:
KJ_FAIL_REQUIRE("don't know how to JSON-encode AnyPointer; "
KJ_FAIL_REQUIRE("don't know how to JSON-decode AnyPointer; "
"JsonCodec::Handler not implemented yet :(");
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment