Merge pull request #1603 from jeking3/THRIFT-3863
THRIFT-3863: fix automake lua library list dependency ordering
diff --git a/compiler/cpp/src/thrift/generate/t_dart_generator.cc b/compiler/cpp/src/thrift/generate/t_dart_generator.cc
index d190e16..414c333 100644
--- a/compiler/cpp/src/thrift/generate/t_dart_generator.cc
+++ b/compiler/cpp/src/thrift/generate/t_dart_generator.cc
@@ -777,10 +777,10 @@
}
indent(out) << "class " << class_name << " ";
- if (is_exception) {
- out << "extends Error ";
- }
out << "implements TBase";
+ if (is_exception) {
+ out << ", Exception ";
+ }
scope_up(out);
indent(out) << "static final TStruct _STRUCT_DESC = new TStruct(\"" << class_name