00:08
ashleyis has joined #crystal-lang
00:08
juancate has joined #crystal-lang
00:08
slash_nick has joined #crystal-lang
00:08
pragmatism has joined #crystal-lang
00:08
bmcginty_ has joined #crystal-lang
00:08
benner_ has joined #crystal-lang
00:08
justinmcp has joined #crystal-lang
00:08
andrew-l has joined #crystal-lang
00:08
toydestroyer has joined #crystal-lang
00:08
sardaukar has joined #crystal-lang
00:08
jsaak has joined #crystal-lang
00:08
yopp has joined #crystal-lang
00:08
Excureo has joined #crystal-lang
00:08
Raimondi has joined #crystal-lang
00:08
barosl has joined #crystal-lang
00:08
leafybas_ has joined #crystal-lang
00:08
jbye has joined #crystal-lang
00:08
ozra has joined #crystal-lang
00:08
ytti has joined #crystal-lang
00:09
tomchap__ has joined #crystal-lang
00:09
tliff has joined #crystal-lang
00:09
epitron has joined #crystal-lang
00:09
irclogger_______ has joined #crystal-lang
00:10
havenwood has joined #crystal-lang
00:10
aemadrid has joined #crystal-lang
00:10
waj has joined #crystal-lang
00:10
dzv has joined #crystal-lang
00:10
jamie_ca has joined #crystal-lang
00:10
CompanionCube has joined #crystal-lang
00:10
wmoxam has joined #crystal-lang
00:10
jokke has joined #crystal-lang
00:10
bougyman has joined #crystal-lang
00:10
danzilio has joined #crystal-lang
00:10
yie has joined #crystal-lang
00:10
grindhold has joined #crystal-lang
00:10
asbradbury has joined #crystal-lang
00:10
shadeslayer has joined #crystal-lang
00:10
Renich has joined #crystal-lang
00:10
A124 has joined #crystal-lang
00:10
buggs has joined #crystal-lang
00:10
NeverDie has joined #crystal-lang
00:10
rvchangue has joined #crystal-lang
00:10
badeball has joined #crystal-lang
00:11
yopp has quit [Ping timeout: 260 seconds]
00:11
[spoiler] has joined #crystal-lang
00:11
Cidan has joined #crystal-lang
00:15
vifino has joined #crystal-lang
00:15
bjmllr has joined #crystal-lang
00:15
6JTABS5S2 has joined #crystal-lang
00:15
RX14 has joined #crystal-lang
00:15
salvor has joined #crystal-lang
00:15
Papierkorb has joined #crystal-lang
00:15
fowlduck has joined #crystal-lang
00:15
sstarr has joined #crystal-lang
00:15
_jungh4ns has joined #crystal-lang
00:15
guilleiguaran__ has joined #crystal-lang
00:15
lokulin has joined #crystal-lang
00:15
manveru has joined #crystal-lang
00:15
Liothen has joined #crystal-lang
00:15
n1ftyn8_ has joined #crystal-lang
00:15
endou has joined #crystal-lang
00:15
jeromegn has joined #crystal-lang
00:15
jhass has joined #crystal-lang
00:15
dom96 has joined #crystal-lang
00:16
yopp has joined #crystal-lang
00:18
A124 has quit [Quit: '']
00:18
A124 has joined #crystal-lang
00:31
A124 has joined #crystal-lang
00:31
A124 has quit [Changing host]
00:31
DeBot has joined #crystal-lang
00:56
fowlduck has quit [Remote host closed the connection]
01:04
guilleiguaran__ has quit [Ping timeout: 252 seconds]
01:11
tomchapin has joined #crystal-lang
01:15
tomchapin has quit [Client Quit]
01:19
tomchapin has joined #crystal-lang
01:36
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
02:07
ozra has quit [Ping timeout: 246 seconds]
02:07
guilleiguaran__ has joined #crystal-lang
02:39
Philpax_ has quit [Read error: Connection reset by peer]
02:40
Philpax has joined #crystal-lang
03:06
emancu has joined #crystal-lang
03:17
<
crystal-gh >
crystal/master 0e428d7 Juan Wajnerman: Fix usage of libevent's evdns_getaddrinfo and cancelling of these requests (fixes #1750)
03:24
tomchapin has joined #crystal-lang
03:30
A124 has quit [Read error: No route to host]
03:33
emancu has quit [Remote host closed the connection]
03:34
Renich has quit [Quit: Lost terminal]
03:36
pawnbox has joined #crystal-lang
03:41
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
03:52
pawnbox has quit [Remote host closed the connection]
03:57
pawnbox has joined #crystal-lang
04:02
pawnbox has quit [Ping timeout: 265 seconds]
04:02
pawnbox has joined #crystal-lang
04:27
havenn has joined #crystal-lang
05:04
Cidan has quit [Ping timeout: 240 seconds]
05:06
pawnbox has quit [Remote host closed the connection]
05:10
pawnbox has joined #crystal-lang
05:11
zz_Cidan has joined #crystal-lang
05:11
zz_Cidan is now known as Cidan
05:11
Cidan has quit [Changing host]
05:11
Cidan has joined #crystal-lang
05:35
globalkeith has joined #crystal-lang
05:43
Renich has joined #crystal-lang
05:47
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
05:53
olek_poz has joined #crystal-lang
05:53
bcardiff has joined #crystal-lang
06:01
Renich has quit [Quit: leaving]
06:28
BlaXpirit has joined #crystal-lang
06:32
Ven has joined #crystal-lang
06:57
bcardiff has quit [Quit: bcardiff]
07:09
pawnbox has quit [Remote host closed the connection]
07:10
pawnbox has joined #crystal-lang
07:15
Ven has quit [Ping timeout: 250 seconds]
07:15
nakilon has joined #crystal-lang
07:23
pawnbox has quit [Remote host closed the connection]
07:24
pawnbox has joined #crystal-lang
07:26
nakilon has quit [Ping timeout: 255 seconds]
07:30
nakilon has joined #crystal-lang
07:39
Ven has joined #crystal-lang
07:43
pawnbox has quit [Remote host closed the connection]
07:44
pawnbox has joined #crystal-lang
07:44
Ven has quit [Client Quit]
07:54
PragTob has joined #crystal-lang
07:55
pawnbox has quit [Remote host closed the connection]
07:56
pawnbox has joined #crystal-lang
08:07
Ven has joined #crystal-lang
08:08
globalkeith has joined #crystal-lang
08:08
cyjimmy264 has joined #crystal-lang
08:15
havenn has quit [Ping timeout: 250 seconds]
08:15
Ven has quit [Ping timeout: 240 seconds]
08:16
pawnbox has quit [Remote host closed the connection]
08:16
pawnbox has joined #crystal-lang
08:18
Ven has joined #crystal-lang
08:18
Kendos-Kenlen has joined #crystal-lang
08:22
cyjimmy264 has quit [Ping timeout: 260 seconds]
08:22
Ven has quit [Ping timeout: 256 seconds]
08:23
nakilon has quit [Ping timeout: 260 seconds]
08:24
Ven has joined #crystal-lang
08:31
Ven_ has joined #crystal-lang
08:31
Ven has quit [Ping timeout: 250 seconds]
08:40
leafybas_ has quit [Remote host closed the connection]
08:41
Kendos-Kenlen has quit [Quit: Konversation terminated!]
08:42
Kendos-Kenlen has joined #crystal-lang
08:59
leafybasil has joined #crystal-lang
09:00
leafybas_ has joined #crystal-lang
09:04
leafybasil has quit [Ping timeout: 265 seconds]
09:19
c0rt042 has joined #crystal-lang
09:20
Ven_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:22
Ven has joined #crystal-lang
09:44
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:46
trapped has joined #crystal-lang
09:46
olek_poz has quit [Quit: Konversation terminated!]
09:57
cyjimmy264 has joined #crystal-lang
10:06
ozra has joined #crystal-lang
10:12
Ven has joined #crystal-lang
10:19
nakilon has joined #crystal-lang
10:20
blassin has joined #crystal-lang
10:20
<
blassin >
anyone using Crystal 0.8 on a mac? :/
10:21
<
blassin >
I'm getting "ld: library not found for -lyaml" if I use the YAML lib
10:24
nakilon has quit [Ping timeout: 255 seconds]
10:25
sooli has joined #crystal-lang
10:28
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
10:32
blassin has quit [Quit: Page closed]
10:50
cyjimmy264 has quit [Remote host closed the connection]
10:54
cyjimmy264 has joined #crystal-lang
11:20
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
11:28
cyjimmy264 has quit [Ping timeout: 264 seconds]
11:30
Ven has joined #crystal-lang
11:36
trapped has joined #crystal-lang
11:37
cyjimmy264 has joined #crystal-lang
11:44
Ven has quit [Read error: Connection reset by peer]
11:45
Ven has joined #crystal-lang
11:47
Ven has quit [Read error: Connection reset by peer]
11:47
Ven has joined #crystal-lang
11:49
Ven has quit [Read error: Connection reset by peer]
11:49
Ven has joined #crystal-lang
11:51
<
trapped >
can you raise a compile-time warning rather than error (macro raise) inside a macro?
11:55
Ven has quit [Ping timeout: 264 seconds]
11:58
<
waj >
trapped: you can use `puts` inside the macro
11:59
<
trapped >
is a compile-time case statement possible too?
11:59
<
trapped >
emitting only the matched code
12:01
Ven has joined #crystal-lang
12:01
<
trapped >
i tried the other day but it complained that you couldn't do {% case ... \n when x %} something() {% end %}
12:01
Kendos-Kenlen has quit [Quit: Konversation terminated!]
12:01
emancu has joined #crystal-lang
12:02
<
waj >
use {% if ... %}
12:02
<
waj >
but the code inside macros is not really crystal
12:02
<
waj >
you can find many examples in the crystal source code
12:05
Kendos-Kenlen has joined #crystal-lang
12:09
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
12:10
<
trapped >
that's an ok way to do it i guess
12:20
nakilon has joined #crystal-lang
12:24
nakilon has quit [Ping timeout: 244 seconds]
12:29
Ven has joined #crystal-lang
12:32
<
crystal-gh >
crystal/master 0c252a3 Juan Wajnerman: Added `sleep` without args to suspend the current fiber forever
12:33
<
crystal-gh >
crystal/master f0af2c8 Ary Borenszweig: Fixed #1711: fixed some parser issues
12:35
Kendos-Kenlen has quit [Quit: Konversation terminated!]
12:38
Ven has quit [Ping timeout: 250 seconds]
12:38
Kendos-Kenlen has joined #crystal-lang
12:41
Kendos-Kenlen has quit [Remote host closed the connection]
12:42
Kendos-Kenlen has joined #crystal-lang
12:44
Ven has joined #crystal-lang
12:45
Ven has quit [Client Quit]
12:52
Kendos-Kenlen has quit [Remote host closed the connection]
12:58
<
crystal-gh >
crystal/master b407fb6 Guilherme Bernal: Support "run" macro from a directory with spaces in it
12:58
<
crystal-gh >
crystal/master 461fc78 Ary Borenszweig: Merge pull request #1749 from lbguilherme/patch-2...
13:02
Ven has joined #crystal-lang
13:03
Kendos-Kenlen has joined #crystal-lang
13:08
pawnbox has quit [Remote host closed the connection]
13:11
Ven has quit [Ping timeout: 250 seconds]
13:14
Philpax_ has joined #crystal-lang
13:17
Philpax has quit [Ping timeout: 240 seconds]
13:19
sooli has quit [Ping timeout: 252 seconds]
13:24
blassin has joined #crystal-lang
13:24
BlaXpirit has quit [Read error: Connection reset by peer]
13:25
<
blassin >
does anyone know how HTTP::Server is supposed to work?
13:26
<
blassin >
I keep getting 'HTTP::Server#initialize' is not expected to be invoked with a block, but a block was given
13:26
<
blassin >
but a lot of code I see uses a block with it... ?
13:26
<
blassin >
or is my class supposed to be a Handler?
13:26
emancu has quit [Remote host closed the connection]
13:27
emancu has joined #crystal-lang
13:31
emancu has quit [Ping timeout: 246 seconds]
13:35
<
crystal-gh >
[crystal] kostya opened pull request #1751: add params method []? (master...params_fetch)
http://git.io/vC92g
13:36
Philpax_ has quit [Ping timeout: 240 seconds]
13:41
<
crystal-gh >
[crystal] jhass closed pull request #1751: add params method []? (master...params_fetch)
http://git.io/vC92g
13:46
<
jhass >
blassin: can you show your code?
13:52
Ven has joined #crystal-lang
14:00
Ven has quit [Ping timeout: 246 seconds]
14:01
c0rt042 has quit [Remote host closed the connection]
14:01
emancu has joined #crystal-lang
14:03
Ven has joined #crystal-lang
14:05
xdougx has joined #crystal-lang
14:07
blassin has quit [Quit: Page closed]
14:09
<
PragTob >
hello xdougx
14:09
<
xdougx >
may i ask a question about Logger class?
14:11
barosl has quit [Read error: Connection reset by peer]
14:13
<
jhass >
don't ask to ask, just ask ;)
14:15
gamemanj has joined #crystal-lang
14:19
<
xdougx >
to start the Logger class is needed to pass a File.new? im trying Logger.new(File.open("./log/development.log", "a+")) but when i call log.info("some log") is not writing on the file
14:22
<
jhass >
I don't remember but it probably doesn't flush right away
14:23
<
jhass >
try you can try setting .sync = true on the IO (File, not Logger)
14:24
<
xdougx >
let me check it
14:26
<
xdougx >
keet not writing on the file
14:30
<
xdougx >
also im on the last version of crystal
14:30
<
xdougx >
is need to logger.close?
14:30
<
jhass >
as in lastest release or compiled from latest development version
14:30
<
jhass >
well, it should happen automatically on exit I think
14:34
Dreamer3 has joined #crystal-lang
14:36
BlaXpirit has joined #crystal-lang
14:36
<
xdougx >
that level
14:36
<
jhass >
xdougx: you set the log level to warn and then log info
14:36
<
xdougx >
level is feltering
14:37
<
jhass >
yes, of course it is
14:37
<
xdougx >
filtering*
14:37
<
jhass >
that's its purpose
14:37
<
jhass >
fatal, error, warn, info, debug
14:38
<
jhass >
only levels lower or equal will be logged
14:38
<
xdougx >
i think I thought putting WARN would warn, info and debug be available
14:39
<
jhass >
and how would you hide info and debug then?
14:39
<
xdougx >
but now i know is the opposite
14:41
<
xdougx >
now it is just fine :) thank you
14:44
bcardiff has joined #crystal-lang
15:05
<
crystal-gh >
[crystal] waj closed pull request #1589: Make spawn usage consistent with a single way of calling. (master...f/remove_redundant_spawn)
http://git.io/vn7Y5
15:09
tilpner has joined #crystal-lang
15:20
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
15:22
PragTob has quit [Quit: Leaving]
15:35
thor77 has joined #crystal-lang
15:35
<
thor77 >
did anyone successfully build the crystal-git aur-pkg in the past few days?
15:36
<
BlaXpirit >
thor77, needs llvm35 and it's not in
15:36
<
BlaXpirit >
last i heard
15:37
<
jhass >
I pushed locking it to llvm35 yesterday
15:37
<
thor77 >
ah, llvm35 isn't installed
15:37
<
jhass >
yes, that's the llvm 3.7 issue
15:44
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:45
kostya has joined #crystal-lang
15:45
<
xdougx >
crystal can work with rake? ou are something to make the rake job?
15:45
blue_deref has joined #crystal-lang
15:46
<
jhass >
I'm not sure what you're asking exactly
15:47
<
jhass >
there's no build tool written in Crystal yet as far as I'm aware. Most seem to use make
15:47
<
jhass >
well, most that use one at all
15:50
<
xdougx >
like ruby, im thinking to build some tasks to help when i build a project, run some services or generate files templates.
15:50
shama has joined #crystal-lang
15:52
<
jhass >
nothing prevents you from using rake or any other existing tool
15:54
<
xdougx >
i see, is a possibility
15:54
<
BlaXpirit >
i never got the point of "make"
15:54
<
thor77 >
ah, installation works with llvm35 installed, ty @jhass :)
16:00
pawnbox has joined #crystal-lang
16:07
Kendos-Kenlen has quit [Quit: Konversation terminated!]
16:07
Ven has joined #crystal-lang
16:34
leafybas_ has quit [Ping timeout: 260 seconds]
16:35
bmcginty_ has quit [Ping timeout: 260 seconds]
16:37
bmcginty has joined #crystal-lang
16:47
<
crystal-gh >
crystal/master 0ece5cb Juan Wajnerman: IO#write always writes the entire slice or raises
16:47
globalkeith has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
16:48
<
crystal-gh >
[crystal] waj closed pull request #1641: fix bug IO.copy returning wrong count if dst didn't write everything (master...copy-bug-fixing)
http://git.io/vc3rk
16:53
bcardiff_ has joined #crystal-lang
16:54
qard has joined #crystal-lang
16:55
<
crystal-gh >
crystal/master e718e93 Ary Borenszweig: Merge pull request #1743 from manastech/protected_in_namespace...
16:55
bcardiff has quit [Ping timeout: 255 seconds]
16:55
bcardiff_ is now known as bcardiff
16:59
cyjimmy264 has quit [Ping timeout: 244 seconds]
17:00
cyjimmy264 has joined #crystal-lang
17:02
Ven has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:05
cyjimmy264 has quit [Ping timeout: 252 seconds]
17:10
trapped has joined #crystal-lang
17:13
A124 has joined #crystal-lang
17:15
greengriminal has joined #crystal-lang
17:23
<
crystal-gh >
crystal/master 874fda1 Joakim Reinert: add byte_format decoding support and specs
17:23
<
crystal-gh >
crystal/master cb15b0f Joakim Reinert: rename write_bytes to write_object in IO
17:23
<
crystal-gh >
crystal/master 9409279 Joakim Reinert: updated byte_format specs to use renamed write method
17:34
greengriminal has quit [Ping timeout: 250 seconds]
17:35
greengriminal has joined #crystal-lang
17:37
<
xdougx >
is that possible to Array has a method to_a and having this structure [["a", "b"], ["c", "d"]] when call to_a become {a: "b", c: "d"}
17:38
<
xdougx >
correctio n`to_h`
17:41
leafybasil has joined #crystal-lang
17:43
<
xdougx >
forget exists, i have not founded before
17:45
kostya has quit [Remote host closed the connection]
17:46
leafybasil has quit [Ping timeout: 260 seconds]
17:55
mhib has joined #crystal-lang
17:55
Excureo has quit [Remote host closed the connection]
17:56
Excureo has joined #crystal-lang
18:01
globalkeith has joined #crystal-lang
18:07
Excureo has quit [Remote host closed the connection]
18:14
fowlduck has joined #crystal-lang
18:17
blue_deref has quit [Quit: Taking myself out of hear.]
18:21
fowlduck has quit [Remote host closed the connection]
18:27
thor77 has left #crystal-lang ["Leaving"]
18:33
A124 has quit [Quit: '']
18:34
<
crystal-gh >
crystal/master ad47e98 Juan Wajnerman: Logger uses separate fiber to serialize writing the messages (fixes #1748)
18:34
<
crystal-gh >
crystal/master c83f56b Ary Borenszweig: Remove error output from a couple of specs
18:34
<
crystal-gh >
crystal/master 1356734 Ary Borenszweig: Renamed write_object/read_object to write_bytes/read_bytes. Related to #1603
18:34
<
crystal-gh >
crystal/master 849af44 Ary Borenszweig: Updated Changelog
18:53
A124 has joined #crystal-lang
19:02
greengriminal has quit [Quit: This computer has gone to sleep]
19:13
sdogruyol has joined #crystal-lang
19:23
<
crystal-gh >
crystal/master 74d5876 Ary Borenszweig: Top level `print` now flushes. Removed `print!`. Fixes #1436
19:23
<
crystal-gh >
crystal/master 25d608d Ary Borenszweig: Crystal 0.9.0
19:26
<
crystal-gh >
crystal/master be93828 Ary Borenszweig: `json_mapping` and `yaml_mapping` are now `JSON.mapping` and `YAML.mapping`
19:27
<
sdogruyol >
wow great job @asterite
19:29
<
crystal-gh >
[crystal] asterite closed pull request #1629: move byte_format to std/ for getting bytes of numbers without io (master...byte-format)
http://git.io/vcI6d
19:36
mhib has quit [Read error: Connection reset by peer]
19:44
greengriminal has joined #crystal-lang
19:47
xdougx has joined #crystal-lang
19:50
<
agargiulo >
0.9.0? :)
19:50
<
sdogruyol >
asterite: congrats
19:52
<
xdougx >
is there a function that has the same behavior then > ``
19:52
<
agargiulo >
> `` or just ``?
19:52
<
xdougx >
like exec("ls -la")
19:52
<
agargiulo >
ah I haven't come across it yet, sorry
19:58
<
jhass >
>> `ls -la`
19:58
<
DeBot >
jhass: # => "bin\nboot\ndev\netc\nhome\nlib\nmnt\nopt\nproc\nroot\nrun\nsbin\nsrv\nsys\ntmp\nusr\nvar\n" -
http://carc.in/#/r/j4i
19:59
<
agargiulo >
that's cool
20:04
sdogruyol has quit [Remote host closed the connection]
20:07
blue_deref has joined #crystal-lang
20:17
<
xdougx >
no, `` exists and im applying, the question, there are any alternative?
20:20
<
trapped >
at this rate we might see crystal 1.0 by christmas
20:23
<
xdougx >
Process can check if an PID is running?
20:24
grindhold has quit [Quit: No Ping reply in 180 seconds.]
20:24
Renich has joined #crystal-lang
20:25
<
jhass >
xdougx: the generic interface is Process.run
20:25
<
jhass >
and Process.waitpid should be able to
20:26
grindhold has joined #crystal-lang
20:26
<
jhass >
in theory, not sure if we expose the right flags
20:26
<
xdougx >
let me test it :)
20:26
<
jhass >
trapped: you can expect 0.10 etc ;)
20:28
<
xdougx >
ohh getpgid is the correct method to check if a pid is running
20:29
<
jhass >
mmh, that just raises Errno if not, right?
20:30
bcardiff has quit [Quit: bcardiff]
20:40
<
jhass >
iirc waitpid provides some flags that will make it return immediately and you can tell from the return code whether it's still active or not
20:42
<
xdougx >
didnt found this method on the doc and when i call it with Process.waitpid(pid) got undefined method
20:45
<
jhass >
guess it's something like Process.new(pid).wait or something by now
20:45
<
jhass >
as said I'm not even sure we have abstraction over the correct flags, probably not
20:45
<
jhass >
yeah, doesn't look like it
20:48
<
xdougx >
thats fine, with getpgid could've done a good implementantion
20:49
<
xdougx >
i've done...
21:03
<
xdougx >
have a good weekend :D going
21:14
fowlduck has joined #crystal-lang
21:15
<
crystal-gh >
crystal/master bc04330 Ary Borenszweig: Added missing entry about StringIO renamed to MemoryIO in Changelog for 0.9.0
21:15
fowlduck has quit [Read error: Connection reset by peer]
21:15
fowlduck_ has joined #crystal-lang
21:24
shama has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
21:26
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
21:27
ozra has quit [Ping timeout: 246 seconds]
21:28
gamemanj has quit [Ping timeout: 240 seconds]
21:33
trapped has joined #crystal-lang
21:36
tomchapin has joined #crystal-lang
21:40
leafybasil has joined #crystal-lang
22:11
bcardiff has joined #crystal-lang
22:12
<
jhass >
asterite: that copy paste went wrong :P
22:12
<
asterite >
Yeah, noticed like 0.1s after I hit send :(
22:12
pawnbox has quit [Remote host closed the connection]
22:12
<
asterite >
but google groups doesn't have an undo like gmail
22:17
greengriminal has quit [Quit: This computer has gone to sleep]
22:17
greengriminal has joined #crystal-lang
22:18
greengriminal has quit [Client Quit]
22:23
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:25
tomchapin has joined #crystal-lang
22:29
pawnbox has joined #crystal-lang
22:31
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
22:38
nakilon has joined #crystal-lang
22:43
<
jhass >
asterite: mmh, constant lookup in macros changed?
22:43
<
jhass >
ah, off already :/
22:43
<
asterite >
jhass: didn't change as far as I know
22:44
<
jhass >
well, artanis no longer works
22:46
<
jhass >
maybe the context in which the macro is executed changed?
22:47
<
jhass >
mmh, didn't something about when inherited runs change?
22:47
<
jhass >
I think that's it
22:50
<
jhass >
any idea for a workaround?
22:51
bcardiff has quit [Quit: bcardiff]
22:52
<
BlaXpirit >
"space required before colon in type restriction" srsly
22:52
<
BlaXpirit >
asterite, pls
22:54
blue_deref has quit [Quit: Taking myself out of hear.]
22:55
<
BlaXpirit >
gj, you broke all my libs
22:56
nakilon has quit [Ping timeout: 252 seconds]
22:57
<
asterite >
:foo is a symbol
22:58
<
BlaXpirit >
foo: is not a symbol
22:59
<
asterite >
and `foo: bar` is a named argument
22:59
<
asterite >
`foo : Int` is a restriction
22:59
<
asterite >
That's the reason, sorry
22:59
<
BlaXpirit >
it doesn't even matter that it's a symbol, all these things can still be parsed
23:07
<
asterite >
Yes, but for a human it's better if things are visually consistent, and when you see `foo : T` and `foo: T` you can quickly see the meaning
23:09
<
asterite >
BlaXpirit: or you can see it this way, we never intended `def foo(x: Int32)` to be valid syntax, then we realized the mistake and fixed it... maybe a bit too late, but a regex could fix this very easily
23:09
<
BlaXpirit >
asterite, applying a regex to all files is not as easy
23:10
<
BlaXpirit >
well actually it is but first i wanna ensure it's correct
23:10
<
jhass >
git diff and git checkout to the rescue
23:11
<
agargiulo >
and git stash
23:11
A124 has quit [Quit: '']
23:11
A124 has joined #crystal-lang
23:14
tomchapin has joined #crystal-lang
23:17
<
asterite >
Well, actually, we should have made the formatter apply that change and later introduce the breaking change... but the formatter appeared after that change, so that wasn't a good choice, you are right. But now it's a bit too late
23:20
<
asterite >
One think you can do, or I can do it if you want, is to change that rule in the compiler, create a compiler and then run the formatter so it does that for you
23:20
<
asterite >
I'll do it and give you the patch (can you compile the compiler on your machine?)
23:24
<
BlaXpirit >
asterite, oh thanks, but don't bother
23:25
<
BlaXpirit >
im just sitting here with (def [^ ]+\(.+\b): ([A-Z])
23:25
<
asterite >
Ah, ok :)
23:29
<
BlaXpirit >
hm i sure skipped a lot of commas in multiline arrays
23:29
<
BlaXpirit >
was removal of this intentional?
23:31
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
23:36
<
BlaXpirit >
also i'm pretty sure a: B is still allowed in: lib-fun, struct
23:48
<
asterite >
The skipping of commas is a bug I found, I was surprised to find that too
23:49
<
BlaXpirit >
i thought it was a nice feature :|
23:49
<
BlaXpirit >
some languages have that
23:49
<
jhass >
>> "foo" "bar"
23:50
fowlduck_ has quit [Remote host closed the connection]
23:52
BlaXpirit has quit [Quit: Konversation]
23:55
pawnbox_ has joined #crystal-lang
23:56
pawnbox has quit [Ping timeout: 246 seconds]