Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (11 sloc) 435 Bytes
use v6;
use Test;
plan 2;
=begin pod
xinming audreyt: class A is A { }; <--- This error is reported at compile time or runtime?
xinming I mean, it will reported when it sees `class A is A` or, when A.new is invoked
audreyt I suspect compile time is the correct answer
=end pod
eval_dies_ok 'role RA does RA { }; 1', "Testing `role A does A`";
eval_dies_ok 'class CA is CA { }; 1', "Testing `class A is A`";
# vim: ft=perl6
Jump to Line
Something went wrong with that request. Please try again.