Skip to content

Commit

Permalink
[dotnet] Out with one bad hack, in with a slightly less bad one for u…
Browse files Browse the repository at this point in the history
…ndefined scalars.
  • Loading branch information
jnthn committed Oct 18, 2010
1 parent 7054cd8 commit cbdd49b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions common/NQP/NQPSetting.pm
Expand Up @@ -208,3 +208,7 @@ sub ok($check, $diag) {
print("ok ");
say($count);
}

# XXX Bad hack, we'll replace this later.
knowhow Any {
}
3 changes: 1 addition & 2 deletions dotnet/compiler/Actions.pm
Expand Up @@ -35,8 +35,7 @@ sub vivitype($sigil) {
)
}
else {
# XXX This is REALLY wrong...
undef
PAST::Var.new( :name('Any'), :scope('lexical') )
}
}

Expand Down

0 comments on commit cbdd49b

Please sign in to comment.