Permalink
Browse files

[dotnet] Out with one bad hack, in with a slightly less bad one for u…

…ndefined scalars.
  • Loading branch information...
1 parent 7054cd8 commit cbdd49b4a8bcff11c0bda12049346d6375d2c18c @jnthn committed Oct 18, 2010
Showing with 5 additions and 2 deletions.
  1. +4 −0 common/NQP/NQPSetting.pm
  2. +1 −2 dotnet/compiler/Actions.pm
View
4 common/NQP/NQPSetting.pm
@@ -208,3 +208,7 @@ sub ok($check, $diag) {
print("ok ");
say($count);
}
+
+# XXX Bad hack, we'll replace this later.
+knowhow Any {
+}
View
3 dotnet/compiler/Actions.pm
@@ -35,8 +35,7 @@ sub vivitype($sigil) {
)
}
else {
- # XXX This is REALLY wrong...
- undef
+ PAST::Var.new( :name('Any'), :scope('lexical') )
}
}

0 comments on commit cbdd49b

Please sign in to comment.