<FromGitter>
<Blacksmoke16> there :P just make it the same as the top level one, but throw a `# :nodoc:` on that one ha
<FromGitter>
<dscottboggs_gitlab> someday I'll understand the compiler well enough to be able to monkey-patch `and` and `or` back into the language as aliases for `&&` and `||` π
<FromGitter>
<Blacksmoke16> xD
<FromGitter>
<dscottboggs_gitlab> I don't get it. that's what you had before
<FromGitter>
<Blacksmoke16> well before i was just using an empty macro
<FromGitter>
<Blacksmoke16> which was overriding the top level one
<FromGitter>
<Blacksmoke16> ayy, all specs are passing again
<FromGitter>
<Blacksmoke16> we're getting there
<FromGitter>
<Blacksmoke16> going to be a big release, lots of new goodies :)
<FromGitter>
<dscottboggs_gitlab> nice :)
laaron- has quit [Remote host closed the connection]
<FromGitter>
<Blacksmoke16> be in a good place after this for setting up auto generation of swagger specs
<FromGitter>
<dscottboggs_gitlab> what
<FromGitter>
<Blacksmoke16> you dont know about that?
<FromGitter>
<Blacksmoke16> ```code paste, see link```
<FromGitter>
<Blacksmoke16> basic allows you to like auto generate nice docs like in that editor, clients for reading data from that api, and servers to serve it
<FromGitter>
<Blacksmoke16> like would auto generate all your rails routes/models etc
<z64>
ah, misread. been reading too much "foo" and "bar" lately :P
<FromGitter>
<vladfaust> `parent` argument looks like an ugly workaround
<FromGitter>
<vladfaust> But looks like I have nothing left
<FromGitter>
<vladfaust> Thanks
<z64>
that, or you simply don't use an override
gangstacat has joined #crystal-lang
<FromGitter>
<kinxer> @vladfaust You could make a copy-constructor in the parent and then instantiate a new parent and call the method. It's not pretty, but I like it better than the extra method argument (and casting doesn't work).
<FromGitter>
<vladfaust> Can you briefly explain why?
<z64>
using `as` doesn't change the address of the functions that will be called on that instance of the object. it just asserts the type, nothing more
<FromGitter>
<vladfaust> I see, thanks
<FromGitter>
<vladfaust> But should there be a way to do what I've mentioned, in an ideal OOP language?
<z64>
i've never seen anything like what you mentioned / anyone needing something like it
<FromGitter>
<vladfaust> Of course
<FromGitter>
<yxhuvud> If it seems necessary, refactor until it isn't.
<FromGitter>
<vladfaust> Thanks, I did refactor it
<jokke>
i have tested before that the length of the response body indeed is 1024 bytes long
<FromGitter>
<straight-shoota> Why don't you take a look at the raw content?
<FromGitter>
<bew> `super` ?
<FromGitter>
<bew> arf didn't see the other messages..
Raimondi has quit [Quit: WeeChat 2.3: Β‘Chau!]
<jokke>
hm yeah i just did
<jokke>
and it's equal
<jokke>
weird..
<FromGitter>
<straight-shoota> why are you using hashs for comparison anyway? with only 1024 bytes it's probably easier to directly compare the data slices