-
The Crystal rescue syntax is not Ruby compliant. With exception handling, Crystal failed to run Ruby code, and vice versa.
In Crystal, it looks like :
``` ruby
rescue e : TypeOfException
```
But in…
-
Here is the code:
http://play.crystal-lang.org/#/r/4ro
``` crystal
macro visible_methods
{% a = @type.methods.map { |m| {{p m.name.stringify}} } %}
"Visible methods:"
{{debug()}}
end
class A…
-
very simple code throwing this error. I think something is not being escaped properly?
```
class AutoQuestion(Object):
pass
questions = AutoQuestion.Query.filter(email_sent=False).limit(10).ski…
-
Hi,
my ranksystem bot just keeps disconnecting after 5 sec.
here error log from ranksystem:
##
2016-11-01 23:29:48.467643 INFO Bot starts now his work!
2016-11-01 23:29:48.467571 INFO Joined to …
-
The examples make it look easy but they are all examples when the DSL code lives in the same file as the DSL implementation, which is hardly useful.
How would I actually run it if
@sauce_level = :ext…
-
Return type of lambda expression seems to be incorrect.
``` ruby
p -> (args : Array(Int32)) {
return args[0]
}
#=> # NoReturn):0x108F24750>
```
I expected `Array(Int32) -> Int32`. When I omitted …
rhysd updated
9 years ago
-
Here's an excerpt on an off-line discussion about where Grbl is going and what's next:
**chamnit** : This is something I've been thinking about often recently. Is Grbl done? Or have we pushed it abou…
-
I'm not sure if this is even possible, depending on how the compiler works internally, but... Not all code needs the performance of static typing. It would be nice to be able to declare an "any type" …
-
`platform_selector.h` doesn't allow to configure STM32F411 to run at stock 100 MHz frequency (Unable to set `100000000` value to `SYSTEM_CLOCK_HZ` and `SYSTEM_CYCLE_CLOCK_HZ`), so it's not possible to…
-
With the fix of the crash with the menu, lots of other fixes like the ini corruption, what should be done for a 2.3 release.
My build bot is nearly done and I got a build that can be tested on the fo…