Fixes for recent method tuple cleanup

db4
Slava Pestov 2008-03-05 16:00:34 -06:00
parent 6337b3b80d
commit 3c98385c11
4 changed files with 5 additions and 4 deletions

View File

@ -68,7 +68,7 @@ SYMBOL: bootstrapping?
: crossref? ( word -- ? )
{
{ [ dup "forgotten" word-prop ] [ f ] }
{ [ dup "method-definition" word-prop ] [ t ] }
{ [ dup "method-def" word-prop ] [ t ] }
{ [ dup word-vocabulary ] [ t ] }
{ [ t ] [ f ] }
} cond nip ;

BIN
extra/db/sqlite/test.db Normal file

Binary file not shown.

View File

@ -367,14 +367,14 @@ M: lambda-method definer drop \ M:: \ ; ;
M: lambda-method definition
"lambda" word-prop lambda-body ;
: method-stack-effect
: method-stack-effect ( method -- effect )
dup "lambda" word-prop lambda-vars
swap "method-generic" word-prop stack-effect
dup [ effect-out ] when
<effect> ;
M: lambda-method synopsis*
dup dup definer.
dup dup dup definer.
"method-specializer" word-prop pprint*
"method-generic" word-prop pprint*
method-stack-effect effect>string comment. ;

View File

@ -1,5 +1,6 @@
USING: cocoa cocoa.messages cocoa.application cocoa.nibs
assocs namespaces kernel words compiler sequences ui.cocoa ;
assocs namespaces kernel words compiler.units sequences
ui.cocoa ;
"stop-after-last-window?" get
global [