compiler.tree.builder: Fix scoping of a variable by hints vocab
parent
319ac42ac2
commit
dac5203e81
|
@ -54,7 +54,7 @@ PRIVATE>
|
||||||
#! This slows down compiler.tree.propagation.inlining since then every
|
#! This slows down compiler.tree.propagation.inlining since then every
|
||||||
#! inlined usage of a method has an inline-dependency on the mixin, and
|
#! inlined usage of a method has an inline-dependency on the mixin, and
|
||||||
#! not the more specific type at the call site.
|
#! not the more specific type at the call site.
|
||||||
specialize-method? off
|
f specialize-method? [
|
||||||
[
|
[
|
||||||
#call in-d>> word/quot build-tree-with unclip-last in-d>> :> in-d
|
#call in-d>> word/quot build-tree-with unclip-last in-d>> :> in-d
|
||||||
{
|
{
|
||||||
|
@ -62,7 +62,8 @@ PRIVATE>
|
||||||
{ [ dup ends-with-terminate? ] [ #call out-d>> [ f swap #push ] map append ] }
|
{ [ dup ends-with-terminate? ] [ #call out-d>> [ f swap #push ] map append ] }
|
||||||
[ in-d #call out-d>> #copy suffix ]
|
[ in-d #call out-d>> #copy suffix ]
|
||||||
} cond
|
} cond
|
||||||
] [ dup inference-error? [ drop f ] [ rethrow ] if ] recover ;
|
] [ dup inference-error? [ drop f ] [ rethrow ] if ] recover
|
||||||
|
] with-variable ;
|
||||||
|
|
||||||
: contains-breakpoints? ( word -- ? )
|
: contains-breakpoints? ( word -- ? )
|
||||||
def>> [ word? ] filter [ "break?" word-prop ] any? ;
|
def>> [ word? ] filter [ "break?" word-prop ] any? ;
|
||||||
|
|
Loading…
Reference in New Issue