Remove unused stack effects from DEFER: declarations.

db4
John Benediktsson 2011-10-18 14:42:17 -07:00
parent 6e00eaa3f8
commit b237df3a3b
6 changed files with 6 additions and 6 deletions

View File

@ -13,7 +13,7 @@ CHAR: , delimiter set-global
: delimiter> ( -- delimiter ) delimiter get ; inline
DEFER: quoted-field ( -- endchar )
DEFER: quoted-field
: skip-to-field-end ( -- endchar )
"\n" delimiter> suffix read-until nip ; inline

View File

@ -162,7 +162,7 @@ M: wrapper (serialize) ( obj -- )
CHAR: W write1
wrapped>> (serialize) ;
DEFER: (deserialize) ( -- obj )
DEFER: (deserialize)
SYMBOL: deserialized

View File

@ -43,7 +43,7 @@ C: <color> color
[ bad-new-test ] must-fail
! Corner case if macro expansion calls 'infer', found by Doug
DEFER: smart-combo ! ( quot -- )
DEFER: smart-combo
\ smart-combo [ infer [ ] curry ] 1 define-transform

View File

@ -111,7 +111,7 @@ CONSTANT: initial-hit T{ hit f double-4{ 0.0 0.0 0.0 0.0 } 1/0. }
: create-center ( c r d -- c2 )
[ 3.0 12.0 sqrt / * ] dip n*v v+ ; inline no-compile
DEFER: create ( level c r -- scene )
DEFER: create
: create-step ( level c r d -- scene )
over [ create-center ] dip 2.0 / [ 1 - ] 2dip create ;

View File

@ -120,7 +120,7 @@ CONSTANT: initial-hit T{ hit f double-array{ 0.0 0.0 0.0 } 1/0. }
: create-center ( c r d -- c2 )
[ 3.0 12.0 sqrt / * ] dip n*v v+ ; inline
DEFER: create ( level c r -- scene )
DEFER: create
: create-step ( level c r d -- scene )
over [ create-center ] dip 2.0 / [ 1 - ] 2dip create ;

View File

@ -6,7 +6,7 @@ IN: math.text.french
<PRIVATE
DEFER: basic ( n -- str )
DEFER: basic
CONSTANT: literals
H{ { 0 "zéro" } { 1 "un" } { 2 "deux" } { 3 "trois" } { 4 "quatre" }