<vaninwagen>
there is a webframework, but it needs some love to get it working with current ponyc (0.21.3 and master): https://github.com/Theodus/jennet
<vaninwagen>
if there is anyone interested in giving http on pony some love, please reach out to us :)
<bimawa>
yea ty
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Remote host closed the connection]
<bimawa>
Guys one more qustion, mb I'm ask it before, but can I compile Pony programm to static library for arm64? Just i want best performens with courutines for some my apps?
<bimawa>
on iOS/Android
<bimawa>
Now i use C++ for get my goals
bimawa has quit [Read error: Connection reset by peer]
<SeanTAllen>
bimawa there's a library mode for pony that you can use to embed inside another program but it's poorly documented
gokr has left #ponylang [#ponylang]
acarrico has quit [Ping timeout: 256 seconds]
acarrico has joined #ponylang
_andre has joined #ponylang
jemc has joined #ponylang
feanor has joined #ponylang
feanor has quit [Client Quit]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
acarrico has quit [Ping timeout: 276 seconds]
acarrico has joined #ponylang
endformationage has joined #ponylang
jaro has joined #ponylang
vaninwagen has quit [Ping timeout: 248 seconds]
pzel has joined #ponylang
jemc has quit [Ping timeout: 256 seconds]
dave24 has joined #ponylang
<dave24>
Hello, I get the "this parameter must be sendable" error. But the thing the compiler indicates is a field of an actor, not a parameter to any function or behaviour. What does this mean?
khan has quit [Quit: khan]
khan has joined #ponylang
<aturley>
dave24 can you post the code somewhere?
<dave24>
aturley: hmm, its big. And when I try to make a minimal case it works.
<aturley>
dave24 can you post the error as a gist somewhere so i can take a look?
<dave24>
the full error is: "this parameter must be sendable (iso, val or tag)"
khan has quit [Client Quit]
khan has joined #ponylang
<aturley>
ok, but there's a whole error message around it, correct?
<aturley>
if you can share that i might be able to get a little more context for what you're seeing.
<dave24>
I just don't understand why it says that `a` is a parameter.
<aturley>
well, there may be a bug in the compiler.
<aturley>
or perhaps the error message could be improved.
<aturley>
so in your code you have a member whose type an array parameterized by an interface, and you're trying to assign a new array to it?
<dave24>
yes, in the constructor of an actor.
<aturley>
dave24 can you send me the `new create(...)` line for this actor?
<dave24>
I can, but it probably won't mean much: `new create( store: Store, chans: _Chans, invoker: Invoker)`
<dave24>
all of those are sendable
<dave24>
and none of them are used in the creation of the array
<aturley>
:/
<aturley>
ok, thank you.
jemc has joined #ponylang
fotoverite has joined #ponylang
<aturley>
dave24 i'm out of ideas.
<SeanTAllen>
dave24: it sounds like the compiler has gotten confused and is giving a bad error message.
<SeanTAllen>
those can be hard to track down.
droman has joined #ponylang
<dave24>
aturley: thanks anyway, I'll just take my big program apart until I have something small enough that still causes the problem.
<SeanTAllen>
we had one come up related to importing traits that took us a while to figure out.
<SeanTAllen>
there could be something there elsewhere, but without the code, its impossible to tell. good luck!
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
<jemc>
dave24: sometimes I have luck with narrowing down which code caused a compiler bug if I set a breakpoint in lldb and try to print the relevant `ast_t*` structure using `ast_print` in the debugger
vaninwagen has joined #ponylang
<vaninwagen>
dave24: how are your classes/actors Store, _Chans and Invoker defined? If they are classes, have they been defined like `class val Store` or `class iso _Chans` ?
<vaninwagen>
if you left out the refcap in the classdefinition, then giving the types as parameter types without the refcap lets them default to ref
<vaninwagen>
happened to me more than once :)
droman has quit [Quit: WeeChat 2.1]
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
droman has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
vaninwagen has quit [Quit: WeeChat 2.1]
_andre has quit [Quit: leaving]
khan has quit [Quit: khan]
khan has joined #ponylang
khan has quit [Client Quit]
khan has joined #ponylang
khan has quit [Quit: khan]
khan has joined #ponylang
pzel has quit [Ping timeout: 260 seconds]
khan has quit [Client Quit]
khan has joined #ponylang
pzel has joined #ponylang
jemc has quit [Read error: Connection reset by peer]