Fixes for recent method tuple cleanup
parent
6337b3b80d
commit
3c98385c11
|
@ -68,7 +68,7 @@ SYMBOL: bootstrapping?
|
||||||
: crossref? ( word -- ? )
|
: crossref? ( word -- ? )
|
||||||
{
|
{
|
||||||
{ [ dup "forgotten" word-prop ] [ f ] }
|
{ [ dup "forgotten" word-prop ] [ f ] }
|
||||||
{ [ dup "method-definition" word-prop ] [ t ] }
|
{ [ dup "method-def" word-prop ] [ t ] }
|
||||||
{ [ dup word-vocabulary ] [ t ] }
|
{ [ dup word-vocabulary ] [ t ] }
|
||||||
{ [ t ] [ f ] }
|
{ [ t ] [ f ] }
|
||||||
} cond nip ;
|
} cond nip ;
|
||||||
|
|
Binary file not shown.
|
@ -367,14 +367,14 @@ M: lambda-method definer drop \ M:: \ ; ;
|
||||||
M: lambda-method definition
|
M: lambda-method definition
|
||||||
"lambda" word-prop lambda-body ;
|
"lambda" word-prop lambda-body ;
|
||||||
|
|
||||||
: method-stack-effect
|
: method-stack-effect ( method -- effect )
|
||||||
dup "lambda" word-prop lambda-vars
|
dup "lambda" word-prop lambda-vars
|
||||||
swap "method-generic" word-prop stack-effect
|
swap "method-generic" word-prop stack-effect
|
||||||
dup [ effect-out ] when
|
dup [ effect-out ] when
|
||||||
<effect> ;
|
<effect> ;
|
||||||
|
|
||||||
M: lambda-method synopsis*
|
M: lambda-method synopsis*
|
||||||
dup dup definer.
|
dup dup dup definer.
|
||||||
"method-specializer" word-prop pprint*
|
"method-specializer" word-prop pprint*
|
||||||
"method-generic" word-prop pprint*
|
"method-generic" word-prop pprint*
|
||||||
method-stack-effect effect>string comment. ;
|
method-stack-effect effect>string comment. ;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
USING: cocoa cocoa.messages cocoa.application cocoa.nibs
|
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
|
"stop-after-last-window?" get
|
||||||
global [
|
global [
|
||||||
|
|
Loading…
Reference in New Issue