thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Geyer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (THRIFT-4575) Compiled partial classes in different namespace
Date Tue, 29 May 2018 14:56:00 GMT

    [ https://issues.apache.org/jira/browse/THRIFT-4575?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16493643#comment-16493643
] 

Jens Geyer commented on THRIFT-4575:
------------------------------------

What exactly is the problem here? What does "Cannot use compiled source" mean?

> Compiled partial classes in different namespace
> -----------------------------------------------
>
>                 Key: THRIFT-4575
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4575
>             Project: Thrift
>          Issue Type: Bug
>          Components: .NETCore - Compiler
>    Affects Versions: 0.11.0
>            Reporter: Sergey T
>            Priority: Major
>         Attachments: API.cs, PoolGetResult.cs, beta_api.thrift
>
>
> Cannot use compiled source code for netcore target, it generates partial classes in different
namespaces, one as nested classes of API class, and another - in separate file. But in c#
these two classes are not part of one and have two different types:
> 1:
> namespace BetaApi
> {
> public partial class PoolGetResult : TBase
>  {
> ....
> 2:
> namespace BetaApi
> {
>  public partial class API
>  {
> ...
> public partial class PoolGetResult : TBase
> {
> ...
>  
> See attached files



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message