Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix typo in flipflop compiling
  • Loading branch information
sorear committed Jul 26, 2011
1 parent 3764b20 commit 87d556d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Operator.pm6
Expand Up @@ -142,8 +142,8 @@ class Operator::FlipFlop is Operator {
method with_args($/, *@args) {
my $state_var = ::GLOBAL::NieczaActions.gensym;
$*CURLEX<!sub>.add_state_name(Str, $state_var);
@args[1] := mklex($/, 'False') if @args[1].^isa(Op::Whatever);
Op::FlipFlop.new(|node($/), :$state_var, :$!excl_lhs, :$!excl_rhs,
@args[1] := mklex($/, 'False') if @args[1].^isa(::Op::Whatever);
::Op::FlipFlop.new(|node($/), :$state_var, :$!excl_lhs, :$!excl_rhs,
:$!sedlike, :lhs(@args[0]), :rhs(@args[1]))
}

Expand Down

0 comments on commit 87d556d

Please sign in to comment.