<FromGitter>
<Blacksmoke16> You're overriding it so it's not actually raising
onyx_ has quit [Read error: Connection reset by peer]
onyx has quit [Read error: Connection reset by peer]
ur5us has quit [Ping timeout: 260 seconds]
ur5us has joined #crystal-lang
ur5us has quit [Ping timeout: 250 seconds]
ur5us has joined #crystal-lang
<Elouin>
Is there an example of a crystal project using (interpreted) crystal as an extension language?
ur5us has quit [Ping timeout: 248 seconds]
ur5us has joined #crystal-lang
ur5us_ has joined #crystal-lang
ur5us has quit [Ping timeout: 248 seconds]
ur5us_ has quit [Ping timeout: 250 seconds]
ur5us_ has joined #crystal-lang
ur5us_ has quit [Ping timeout: 260 seconds]
jmdaemon has quit [Ping timeout: 248 seconds]
ua_ has quit [Ping timeout: 264 seconds]
<repo>
Blacksmoke16: omg... :facepalm:
<repo>
Is this a bug? File.match?("test/**/*_test.rb", "test/foo/bar/baz_test.rb") # => false
<repo>
it matches "test/foo/bar_test.rb"
<repo>
but somehow the double star isn't correctly handled
<repo>
i looked at the implementation but it's pretty um, complicated :P
<repo>
interesting.. this one matches: File.match?("test/**/test", "test/foo/bar/test")
<repo>
so probably the **/* is the issue here
<FromGitter>
<moe:busyloop.net> still looks like a crystal bug to me. when someone tries to override `raise` then ⏎ the compiler should halt and play a voice-sample of asterisk shouting "don't do that"
<FromGitter>
<Blacksmoke16> naw, its valid
<FromGitter>
<Blacksmoke16> could run into the same problem if you override any top level method
taupiqueur has joined #crystal-lang
taupiqueur has quit [Remote host closed the connection]
taupiqueur has joined #crystal-lang
taupiqueur has quit [Quit: Client closed]
hellstabber has joined #crystal-lang
ua_ has joined #crystal-lang
ua_ has quit [Read error: Connection reset by peer]
ua_ has joined #crystal-lang
<FromGitter>
<spuun> Anyone using Spectator? I have a strange issue where my spec works if I just run that file (`crystal spec spec/class_specs.cr`), but if I run all specs (`crystal spec`) i get `Error: @instance_vars are not yet allowed in metaclasses: use @@class_vars instead`. ⏎ If i remove `expect(mocked_obj).to_not have_received(:method).with(SomeClass)` i dont get the error anymore. I should probably try to make a small
<FromGitter>
... example that reproduces it. Hm.
_ht has joined #crystal-lang
ur5us_ has joined #crystal-lang
Sankalp has quit [Ping timeout: 260 seconds]
Sankalp has joined #crystal-lang
_ht has quit [Quit: _ht]
<FromGitter>
<Blacksmoke16> reducing it and creating an issue would be the way to go
<FromGitter>
<Blacksmoke16> otherwise, just use the stdlib `Spec` module and not have to deal with it
Na_Klar has joined #crystal-lang
<Na_Klar>
is there a risc-v port planned for crystal in the meanwhile?
<Na_Klar>
Blacksmoke16: do I get that right, that these commits are in the compiler's compile source code, and would make it able to bootstrap the compile for riscv? theoretically?
<Na_Klar>
(I tried that myself some time ago and failed at the llvm problem, which seems to be solved with that commit, maybe ..)