Skip to content

Instantly share code, notes, and snippets.

@lumimies
lumimies / overload.pl
Created October 16, 2012 10:22
Core dump from rakudo
use v6;
class X::Overload::Missing is Exception {
has $.type;
has $.method;
method message() {
"Method $.method of type $.type doesn't override anything"
}
}
@lumimies
lumimies / gist:1941577
Created February 29, 2012 15:25
Pugs build error
src/Pugs/AST/../Types/Array.hs:208:14:
Ambiguous occurrence `modifyTVar'
It could refer to either `Pugs.Internals.modifyTVar', imported from Pugs.Internals at src/Pugs/AST/Internals.hs:95:0-20
or `Pugs.AST.SIO.modifyTVar', imported from Pugs.AST.SIO at src/Pugs/AST/Internals.hs:112:0-18
@lumimies
lumimies / gist:1941307
Created February 29, 2012 14:50
pugs-compat build failure
Warning: defaultUserHooks in Setup script is deprecated.
Configuring Pugs-6.2.13.20120203...
Preprocessing executables for Pugs-6.2.13.20120203...
Building Pugs-6.2.13.20120203...
src/Pugs.hs:1:15:
Warning: -fallow-overlapping-instances is deprecated: use -XOverlappingInstances or pragma {-# LANGUAGE OverlappingInstances #-} instead
src/Pugs.hs:1:15:
Warning: -fffi is deprecated: use -XForeignFunctionInterface or pragma {-# LANGUAGE ForeignFunctionInterface #-} instead