commit | 8b6d29d3ee7fb1bece7be1eb728e2e88e867cc2b | [log] [tgz] |
---|---|---|
author | Jens Geyer <jensg@apache.org> | Fri Oct 11 01:47:42 2024 +0200 |
committer | Jens Geyer <jensg@apache.org> | Mon Oct 14 23:03:57 2024 +0200 |
tree | 2d37674ca8d44d5038651fea4c1336083f47e360 | |
parent | a4d458fdf3668acb6823d42d97dcba62b48bd6af [diff] |
THRIFT-5823 Fix illegal uses of exceptions as normal struct type Patch: Jens Geyer This closes #1928
diff --git a/lib/netstd/Tests/Thrift.Compile.Tests/Thrift5320.exception.thrift b/lib/netstd/Tests/Thrift.Compile.Tests/Thrift5320.exception.thrift index 37421c0..d61a300 100644 --- a/lib/netstd/Tests/Thrift.Compile.Tests/Thrift5320.exception.thrift +++ b/lib/netstd/Tests/Thrift.Compile.Tests/Thrift5320.exception.thrift
@@ -24,7 +24,10 @@ exception Task { - 1: Task left - 2: Task right + 1: ErrorData data // it would be illegal to use exception as struct type +} + +struct ErrorData { + 1: string messitsch }