crystal v0.6.1 Release Notes
Release Date: 2015-03-04 // about 9 years ago-
- The
class
method now works in all cases. You can now compare classes with==
and ask theirhash
value. - Block variables can now shadow local variables.
Range(B, E)
is nowRange(T)
.- Added
Number::[]
. Now you can doInt64[1, 2, 3]
instead of[1_i64, 2_i64, 3_u64]
. - 👍 Better detection of nilable instance variables, and better error messages too.
- ➕ Added
Crypto::Blowfish
(thanks @akaufmann) - ➕ Added
Matrix
(thanks @Exilor) - ➕ Added
CallConvention
attribute forfun
s. - Macros: added
constants
so you can inspect a type's constants at compile time. - Macros: added
methods
, which lists a type's methods (without including supertypes). - Macros: added
has_attribute?
for enum types, so you can check if an enum has the Flags attribute on it. - 🛠 Many more small additions and bug fixes.
- The