<FromGitter>
<Blacksmoke16> are you doing anything with json builder?
<FromGitter>
<Dan-Do> I tried to add `var.to_json` at the very begin of main entry file, but still got this err
<FromGitter>
<Dan-Do> nope in my code
<FromGitter>
<Blacksmoke16> doing anything with json other than manually calling `.to_json` on stuff?
<FromGitter>
<Dan-Do> oops, actually one, but it's in the route of kemal, which only be called when access it on browser
<FromGitter>
<Dan-Do> while I tested .to_json at the beginning
<FromGitter>
<Blacksmoke16> :shrug: without looking at the code its impossible to say
<FromGitter>
<Blacksmoke16> just that somewhere for some reason you're doing a `.to_json` using the same json builder before the initial json doc was completed
<FromGitter>
<Dan-Do> I am trying to reduce the code
<FromGitter>
<Blacksmoke16> π
<FromGitter>
<Dan-Do> the err seems come form this macro
<FromGitter>
<grkek> @Blacksmoke16 reduce the code?
<FromGitter>
<Dan-Do> I guess he talk to me :)
<FromGitter>
<Blacksmoke16> no, it was to @grkek
<FromGitter>
<Blacksmoke16> i.e. reduce the amount of code you need to reproduce the bug
<FromGitter>
<Blacksmoke16> instead of needing to clone/run an entire repo worth of code
<FromGitter>
<grkek> It is small
<FromGitter>
<grkek> not that much
<FromGitter>
<grkek> it bugs out on the ui/box.cr
<FromGitter>
<grkek> i fixed it by removing the many properties I had
<FromGitter>
<grkek> Oh now I understand
<FromGitter>
<grkek> I gave it a child of its own self so it overflowed
<FromGitter>
<grkek> :DDD
<FromGitter>
<grkek> shit kms
<FromGitter>
<grkek> Yeah that fixed it
<FromGitter>
<grkek> But it is still a compiler bug
<FromGitter>
<Blacksmoke16> right so now that you know the problem, make a smaller example
<FromGitter>
<Dan-Do> back to my issue, just delete some line on the method `def sinuous_generate_transpile(layout, data)`, compile, run ok, then CTRL+Z, compile, magically gone (the same code)
<FromGitter>
<Dan-Do> :D
<FromGitter>
<Dan-Do> very very strange, huh :D
<FromGitter>
<grkek> I don't really know how the internals of the Gtk shard work tho
duane has quit [Ping timeout: 240 seconds]
duane has joined #crystal-lang
deimos_ has joined #crystal-lang
renich has joined #crystal-lang
renich has quit [Client Quit]
renich has joined #crystal-lang
renich has quit [Quit: Leaving.]
renich has joined #crystal-lang
Flipez has quit [Quit: Ping timeout (120 seconds)]
Flipez has joined #crystal-lang
renich has quit [Quit: Leaving.]
baweaver has joined #crystal-lang
hightower2 has joined #crystal-lang
<hightower2>
Hey oprypin did you get an answer to "is there any way for crystal to run a script from stdin AND accept argv"?
MasterdonX has quit [Read error: Connection reset by peer]
MasterdonX has joined #crystal-lang
masterdonx2 has joined #crystal-lang
MasterdonX has quit [Ping timeout: 260 seconds]
holst has quit [*.net *.split]
<FromGitter>
<lbarasti> Hi all, just wanted to share some exciting news: I've opened the call for speakers for a Crystal user conference to be held on Fri 11 December 2020. β You can submit a talk proposal here! https://forms.gle/tDSfrTQuWhSVmQo4A