Also: here’s the list of acceptable files:
https://docs.github.com/en/github/managing-your-work-on-github/file-attachments-on-issues-and-pull-requests

> On Aug 16, 2020, at 3:35 PM, Harbs <harbs.li...@gmail.com> wrote:
> 
> Great.
> 
> FYI you can attach files to Github issues using drag/drop.
> 
> https://github.blog/2012-12-07-issue-attachments/
> 
>> On Aug 16, 2020, at 3:20 PM, Christofer Dutz <christofer.d...@c-ware.de> 
>> wrote:
>> 
>> Hi Harbs,
>> 
>> Thanks for the clarification.
>> I created an issue ... unfortunately I couldn't find a way to attach files 
>> to it so I added my google-drive link to it.
>> 
>> https://github.com/apache/royale-compiler/issues/158
>> 
>> Chris
>> 
>> 
>> 
>> Am 16.08.20, 11:55 schrieb "Harbs" <harbs.li...@gmail.com>:
>> 
>>   OK. Looks like there’s two issues:
>> 
>>   1. types with private constructors can not be an argument in methods (both 
>> instance and static methods).
>>   2. Return types with private constructors only works on static methods. 
>> non-static methods with these return types error.
>> 
>>   Josh was the one who worked on the private constructor feature. Maybe he 
>> has more input.
>> 
>>   Chris, can you attach this test project to a royale-compiler issue?
>> 
>>> On Aug 16, 2020, at 12:21 PM, Christofer Dutz <christofer.d...@c-ware.de> 
>>> wrote:
>>> 
>>> Hi Harbs,
>>> 
>>> So I whipped up a little example using my enums and the strange thing is, 
>>> that here
>>> the getQualifiedClassName seems to work. However not the private 
>>> constructor.
>>> 
>>> I've zipped up my example here:
>>> https://drive.google.com/file/d/1SNMiH5xuUERbIiscuEH_JgcOLrBboj4j/view?usp=sharing
>>> 
>>> So not really sure what I should do differently. I would be happy to solve 
>>> the private constructor problem and then try to tackle the next one.
>>> 
>>> Chris
>>> 
>>> Am 16.08.20, 00:05 schrieb "Harbs" <harbs.li...@gmail.com>:
>>> 
>>>  I’m not sure how you’re using private constructors.
>>> 
>>>  The only two cases I’ve used it was for:
>>>  1. All static classes
>>>  2. Singletons where the instance is generated in the class.
>>> 
>>>  It looks like you’re using casting with the Enums?
>>> 
>>>> On Aug 14, 2020, at 7:03 PM, Christofer Dutz <christofer.d...@c-ware.de> 
>>>> wrote:
>>>> 
>>>> Any idea what could be causing this? As soon as I remove the "private" in 
>>>> front of the constructor, all is good again.
>>> 
>>> 
>> 
>> 
> 

Reply via email to