jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.15.0 | Fund Crystals development: http://is.gd/X7PRtI | Paste > 3 lines of text to https://gist.github.com | GH: https://github.com/crystal-lang/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Logs: http://irclog.whitequark.org/crystal-lang
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
broz has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 260 seconds]
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 246 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 244 seconds]
bcardiff has quit [Quit: bcardiff]
mgarciaisaia has joined #crystal-lang
mgarciaisaia has left #crystal-lang [#crystal-lang]
pawnbox has joined #crystal-lang
Philpax has joined #crystal-lang
pawnbox has quit [Ping timeout: 260 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 246 seconds]
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 248 seconds]
broz has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 248 seconds]
Philpax has quit [Ping timeout: 260 seconds]
<crystal-gh> [crystal] asterite opened pull request #2443: Implemented the new "global" type inference algorithm (master...feature/2390_ivars) https://git.io/vVF42
Philpax has joined #crystal-lang
broz has quit [Remote host closed the connection]
Philpax has quit [Ping timeout: 260 seconds]
Philpax has joined #crystal-lang
pawnbox has joined #crystal-lang
broz has joined #crystal-lang
broz has quit [Ping timeout: 244 seconds]
trapped has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 244 seconds]
soveran has joined #crystal-lang
Philpax has quit [Ping timeout: 260 seconds]
Philpax has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
mark3 has joined #crystal-lang
Philpax has quit [Ping timeout: 260 seconds]
Philpax has joined #crystal-lang
dsounded has joined #crystal-lang
trapped has quit [Read error: Connection reset by peer]
pawnbox has quit [Remote host closed the connection]
bam0 has joined #crystal-lang
kulelu88 has quit [Quit: Leaving]
Philpax has quit [Ping timeout: 260 seconds]
dsounded has quit [Read error: Connection reset by peer]
dsounded has joined #crystal-lang
pawnbox has joined #crystal-lang
dsounded has quit [Read error: Connection reset by peer]
trapped has joined #crystal-lang
soveran has quit [Remote host closed the connection]
Philpax has joined #crystal-lang
soveran has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
teukka has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
broz has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
broz has quit [Remote host closed the connection]
<jeromegn> asterite: weird, I recall this errored with ClassVarContainer or something. But now it doesn't. However the result is not what I expected: https://play.crystal-lang.org/#/r/whn
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
<jhass> jeromegn: you can do a little macro trick there to force constant resolution the way you want to https://play.crystal-lang.org/#/r/whq
<jeromegn> wow, didn't know I could use macros like that
broz has joined #crystal-lang
<jeromegn> jhass: now I just wonder if that's pattern I just shouldn't use. I could override a method that returns the value instead
<jeromegn> not sure what's most idiomatic
<jhass> I'm still unsure myself actually
<jhass> I think I'd like something like self.class::FOO to work
<jhass> akin to Ruby
<jeromegn> at first I used class variables, but they didn't get applied to subclasses
<jeromegn> so I switched to constants, but it turns out reading constants will only read the once from the originating class
bcardiff has joined #crystal-lang
pawnbox has quit [Ping timeout: 268 seconds]
broz has quit [Remote host closed the connection]
broz has joined #crystal-lang
<jeromegn> I had to apply your trick quite a bit. I imagine I could create a more global macro to get a constant or return nil
<jhass> mh, while playing a bit more https://play.crystal-lang.org/#/r/why
bcardiff has quit [Quit: bcardiff]
ozra has quit [Ping timeout: 246 seconds]
ozra has joined #crystal-lang
LastWhisper____ has joined #crystal-lang
LastWhisper____ has quit [Read error: Connection reset by peer]
<crystal-gh> [crystal] Hamdiakoguz opened pull request #2445: Fix sigfault error in XML::Node#namespace_scopes method. (master...xml_namespace_scopes_error) https://git.io/vVNme
bcardiff has joined #crystal-lang
pawnbox has joined #crystal-lang
ruslux has joined #crystal-lang
<ruslux> Hi, crystaceans! It's possible cast string to symbol?
mgarciaisaia has joined #crystal-lang
<ruslux> Is it*
bam0 has quit [Ping timeout: 264 seconds]
<BlaXpirit> ruslux, no.
<ruslux> Tnx
ruslux has quit [Remote host closed the connection]
broz has quit [Remote host closed the connection]
ozra has quit [Ping timeout: 260 seconds]
ozra has joined #crystal-lang
mark3 has quit [Remote host closed the connection]
<asterite> jeromegn: we will fix class variables soon, their type will be inherited in subclasses
<jeromegn> very cool
soveran has quit [Remote host closed the connection]
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Remote host closed the connection]
mgarciaisaia has left #crystal-lang [#crystal-lang]
Rinkana has joined #crystal-lang
tomchapin has joined #crystal-lang
mgarciaisaia has joined #crystal-lang
mgarciaisaia has left #crystal-lang [#crystal-lang]
buggs has quit [Quit: WeeChat 0.4.2]
soveran has joined #crystal-lang
soveran has joined #crystal-lang
broz has joined #crystal-lang
soveran has quit [Ping timeout: 268 seconds]
ruslux has joined #crystal-lang
broz has quit [Ping timeout: 240 seconds]
ruslux has quit [Ping timeout: 260 seconds]
broz has joined #crystal-lang
broz has quit [Read error: Connection reset by peer]
broz has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Ping timeout: 248 seconds]
pawnbox has quit [Remote host closed the connection]
<Rinkana> Is there an easy way to have a shard executable in your PATH while still developing?
pawnbox has joined #crystal-lang
bcardiff has quit [Ping timeout: 244 seconds]
<BlaXpirit> Rinkana, symlink, for one
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
soveran has joined #crystal-lang
<Rinkana> Ah i see. That would work too.
Rinkana has quit [Read error: Connection reset by peer]
wmoxam has joined #crystal-lang
broz has quit [Ping timeout: 264 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 244 seconds]
greengriminal has joined #crystal-lang
soveran has quit [Remote host closed the connection]
trapped has quit [Read error: Connection reset by peer]
greengriminal has quit [Quit: Leaving]
mgarciaisaia has joined #crystal-lang
mgarciaisaia has quit [Ping timeout: 240 seconds]
Philpax has quit [Ping timeout: 250 seconds]