meh` changed the topic of #opal to: http://opalrb.org - Ruby runtime and library on top of Javascript | 1.0.0 is near | This channel is logged at https://botbot.me/freenode/opal/
larsam has quit [Quit: No Ping reply in 60 seconds.]
Kilo`byte has joined #opal
Kilo`byte has quit [Ping timeout: 260 seconds]
Kilo`byte has joined #opal
e_dub has joined #opal
e_dub has quit [Ping timeout: 240 seconds]
boberetezeke has joined #opal
larsam has joined #opal
f-3r has quit [Remote host closed the connection]
meh` has quit [Ping timeout: 245 seconds]
e_dub has joined #opal
boberetezeke has quit [Ping timeout: 260 seconds]
ryanstout has quit [Quit: ryanstout]
e_dub has quit [Ping timeout: 255 seconds]
e_dub has joined #opal
e_dub has quit [Ping timeout: 244 seconds]
ryanstout has joined #opal
ryanstout has quit [Client Quit]
ylluminarious has quit [Quit: Leaving...]
e_dub has joined #opal
e_dub has quit [Read error: Connection reset by peer]
e_dub has joined #opal
Kilo`byte has quit [Ping timeout: 240 seconds]
Kilo`byte has joined #opal
meh` has joined #opal
e_dub has quit [Quit: ZZZzzz…]
ylluminarious has joined #opal
e_dub has joined #opal
krainboltgreene has left #opal ["Textual IRC Client: www.textualapp.com"]
e_dub has quit [Read error: Connection reset by peer]
e_dub has joined #opal
<meh`> adambeynon, ping
f-3r has joined #opal
f-3r has quit [Changing host]
f-3r has joined #opal
<adambeynon> meh`: heyyy
<meh`> adambeynon, in what case Opal.defn is called with something that is not a class or module?
<meh`> because that check does not make sense to me
<meh`> you cannot define instance methods to something that is not a class or module
<meh`> adambeynon, also where are module methods stored?
<meh`> not in the proto?
<meh`> yeah, looks like it
<meh`> then what
shevy has quit [Ping timeout: 255 seconds]
shevy has joined #opal
<adambeynon> meh`: not at my laptop. I will need to look at the core again. It's been a long time.
<meh`> adambeynon, I'll just assume it's an error and remove it
<meh`> I'm getting closer to support proper bridging
<adambeynon> meh`: have you got a link to the line in question?
<meh`> adambeynon, no, but it's not important
<meh`> I'm pretty sure it was defensive whatever
<meh`> adambeynon, right now I'm passing through something weirder
<meh`> Opal.append_features is getting called with something that is not a module
<meh`> adambeynon,
<meh`> >> Kernel == Object
<meh`> => true
<meh`> what's going on in there?
<adambeynon> yeah, Kernel doesn’t actually exist
<adambeynon> its just an alias of Object
<meh`> adambeynon, that's a problem
<adambeynon> meh`: its not crucial, it can be made into a normal module
<meh`> adambeynon, any suggestion how to do that?
<meh`> if I just remove Opal.Kernel = ObjectClass it crashes
<adambeynon> hmmm, maybe modules being included into Object aren’t copied to bridged classes
<adambeynon> (not sure, just a guess)
<meh`> adambeynon, all that code is gone
<meh`> at $opal.defn.self (<eval>:1620:48): Maximum call stack size exceeded (V8::Error) from at Opal.get (<eval>:51:24) from at $opal.defn.self (<eval>:1632:33)
<meh`> I get an infinite loop on Opal.get
f-3r has quit [Remote host closed the connection]
ryanstout has joined #opal
<ryanstout> question, what version of opal is http://opalrb.org/try/# running?
<ryanstout> nevermind
<meh`> adambeynon, how do you create a module?
<meh`> adambeynon, I mean, in the runtime
<meh`> how do I create a Kernel module before it's required?
<adambeynon> meh`: there should be a boot_module() method in runtime.js
<meh`> looks good
<meh`> yeah, I think I can't remove Object = Kernel myself
GitHub48 has joined #opal
<GitHub48> [opal] meh created proper-bridging (+1 new commit): http://git.io/TfsVWA
GitHub48 has left #opal [#opal]
<GitHub48> opal/proper-bridging 76ef2f3 meh: WIP
<meh`> adambeynon, https://github.com/opal/opal/pull/631 when you have time
<meh`> adambeynon, almost got everything done, I just need to have this fixed
<meh`> adambeynon, Object = Kernel is causing issues inside mspec
<meh`> because it's doing `include Kernel` for whatever reason
<meh`> and you can't include classes
elia has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
elia has quit [Client Quit]