Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[src/parser/signature.pm] fixed class collision
<masak> now getting "Class Signature already registered!" when compiling
        perl6_s1.pbc...
<jnthn> masak: Ah, ouch
<jnthn> masak: in src/parser/signature.pm, try this:
<jnthn> -class Perl6::Compiler::Signature;
<jnthn> +module Perl6::Compiler::Signature;
<jnthn> (evil but seems to work)
<masak> jnthn: aye, works.
<jnthn> \o/
<jnthn> masak: Feel free to push.
<masak> will do.
  • Loading branch information
Carl Masak committed Oct 17, 2009
1 parent d5a2ee9 commit 24ebf39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser/signature.pm
@@ -1,7 +1,7 @@
# Copyright (C) 2009, The Perl Foundation.
# $Id$

class Perl6::Compiler::Signature;
module Perl6::Compiler::Signature;

# This class represents a signature in the compiler. It takes care of
# producing an AST that will generate the signature, based upon all of
Expand Down

0 comments on commit 24ebf39

Please sign in to comment.