THRIFT-5347 Deprecate Haskell bindings
Client: hs
Patch: Jens Geyer
diff --git a/compiler/cpp/src/thrift/generate/t_generator.cc b/compiler/cpp/src/thrift/generate/t_generator.cc
index 3059fb1..d87af89 100644
--- a/compiler/cpp/src/thrift/generate/t_generator.cc
+++ b/compiler/cpp/src/thrift/generate/t_generator.cc
@@ -240,6 +240,9 @@
else if (language == "as3") {
pwarning(1, "The '%s' target is deprecated and will be removed in future Thrift versions.", language.c_str());
}
+ else if (language == "hs") {
+ pwarning(1, "The '%s' target is deprecated and will be removed in future Thrift versions.", language.c_str());
+ }
if (iter == the_map.end()) {
return nullptr;