Skip to content

Instantly share code, notes, and snippets.

@Codcore
Created June 8, 2015 13:21
Show Gist options
  • Save Codcore/cfa0b90da68cebc8a3e4 to your computer and use it in GitHub Desktop.
Save Codcore/cfa0b90da68cebc8a3e4 to your computer and use it in GitHub Desktop.
Installing Crystal 0.7.3 Manjaro Linux
Pending:
Code gen: lib codegens lib var set and get
Code gen: primitives codegens pointer of int
Code gen: primitives sums two numbers out of an [] of Number
Code gen: virtual type calls class method 1
Code gen: virtual type calls class method 2
Code gen: virtual type calls class method 3
Type inference: cast casts from union to incompatible union gives error
Type inference: def overload restricts on generic type with free type arg
Type inference: def overload restricts on generic type without type arg
Type inference: module gives error with cyclic include
Type inference: pointer allows using pointer with subclass
Type inference: primitives types pointer of int
Exception allocates enough space for backtrace frames
Math Functions for computing quotient and remainder
ConditionVariable waits and send signal
Failures:
1) BigInt does bitwise or
Failure/Error: (BigInt.new("96238761238986532") | 8632573).should eq(96238761247506429)
expected: 96238761247506429
got: 96238761247506429
# ./spec/std/big_int_spec.cr:91
2) BigInt does bitwise xor
Failure/Error: (BigInt.new("96238761238986532") ^ 8632573).should eq(96238761247393753)
expected: 96238761247393753
got: 96238761247393753
# ./spec/std/big_int_spec.cr:96
3) BigInt can be casted into other Number types
Failure/Error: big.to_i64.should eq(1234567890)
expected: 1234567890
got: -4626288081365499182
# ./spec/std/big_int_spec.cr:177
4) Matrix(T) / does division with another matrix (3)
Failure/Error: (a / b).should eq(c)
expected: Matrix[[0.7, -0.3, -1.11022e-16], [-0.3, 0.7, -5.55112e-17], [1.2, 0.2, -1]]
got: Matrix[[0.7, -0.3, -1.11022e-16], [-0.3, 0.7, -5.55112e-17], [1.2, 0.2, -1]]
# ./spec/std/matrix_spec.cr:200
5) Matrix(T) determinant returns the correct determinant (3)
Failure/Error: m.determinant.should eq(1.2592223449008756e+45)
expected: 1.25922e+45
got: 1.25922e+45
# ./spec/std/matrix_spec.cr:245
Finished in 4:48 minutes
6021 examples, 5 failures, 0 errors, 15 pending
Failed examples:
crystal spec ./spec/std/big_int_spec.cr:89 # BigInt does bitwise or
crystal spec ./spec/std/big_int_spec.cr:94 # BigInt does bitwise xor
crystal spec ./spec/std/big_int_spec.cr:171 # BigInt can be casted into other Number types
crystal spec ./spec/std/matrix_spec.cr:194 # Matrix(T) / does division with another matrix (3)
crystal spec ./spec/std/matrix_spec.cr:238 # Matrix(T) determinant returns the correct determinant (3)
Makefile:16: recipe for target 'spec' failed
make: *** [spec] Error 1
==> ERROR: A failure occurred in check().
Aborting...
==> ERROR: Makepkg was unable to build crystal.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment