Closed buddha314 closed 6 years ago
@buddha314 - in general, unresolved call errors can be pruned after 1-2 lines :)
e.g.
> $CHPL_HOME/modules/standard/IO.chpl:3084: error: unresolved call 'atomic_int64.readThis(channel(false,dynamic,false))'
> $CHPL_HOME/modules/internal/CString.chpl:288: note: candidates are: c_string.readThis(x)
> $CHPL_HOME/modules/internal/String.chpl:527: note: string.readThis(f)
I don't have any ideas yet... Is there an atomic
anywhere in your code? I don't see any atomics in Chrest...
R e a l l y ,
B e n ?
I
d i d
n o t
k n o w
t h a t ! !
T h a n k s
f o r
t h e
t i p !
Hi, I will investigate the issue.
Hi @buddha314 and @ben-albrecht . I would like to thank you both because of all help and support.
I tried to reproduce the issue without success. I copied the @buddha314 class and put in a demo. It compiled very well and serialized too.
https://github.com/marcoscleison/chrest/blob/7fcdc9caddfde0c4abe98d8f35b6670f583bea56/examples/demo2/server/src/srv.chpl#L25 @ben-albrecht is right. I do not use atomic in Chrest yet. So, if you have some clue on what is wrong, share with us. I will mantain this issue open until you give me a word. Thanks.
When was the last time you pulled the chapel source? I'll try again today. Also, I'm running on a Mac so it could be the capitalization issue again.
Hi, I sent just now the Demo. Due to my tasks here there some days that I do not pull anything.
Well, okay, let's close this. I just got it to compile. I have no idea why it works now, hoping it was just and intermittent compiler issue or something.
I have no idea why it works now, hoping it was just and intermittent compiler issue or something.
The Chapel compiler works in mysterious ways.
Class object:
The controller:
And the client
Barfs our