USING: tools.test namespaces assocs alien.syntax kernel\r
compiler.errors accessors alien alien.c-types alien.strings\r
-debugger literals ;\r
+debugger literals kernel.private ;\r
FROM: alien.libraries => add-library load-library ;\r
IN: compiler.tests.linkage-errors\r
\r
combinators combinators.short-circuit compiler.units
continuations definitions destructors effects.parser generic
generic.math generic.parser generic.single grouping io
-io.encodings io.styles kernel lexer make math math.order
-math.parser namespaces parser prettyprint sequences
+io.encodings io.styles kernel kernel.private lexer make math
+math.order math.parser namespaces parser prettyprint sequences
sequences.private slots source-files.errors strings
-strings.parser summary system vocabs vocabs.loader vocabs.parser
-words ;
+strings.parser summary system vocabs vocabs.loader
+vocabs.parser words ;
FROM: namespaces => change-global ;
IN: debugger
USING: kernel math math.floats.env math.floats.env.private
math.functions math.libm literals sequences tools.test locals
compiler.units kernel.private fry compiler.test math.private
-words system memory ;
+words system memory kernel.private ;
IN: math.floats.env.tests
: set-default-fp-env ( -- )
memory namespaces sequences tools.test math.private quotations
continuations prettyprint io.streams.string debugger assocs
sequences.private accessors locals.backend grouping words
-system alien alien.accessors ;
+system alien alien.accessors kernel.private ;
IN: kernel.tests
[ 0 ] [ f size ] unit-test
CONSTANT: CONTEXT-OBJ-CONTEXT 2
CONSTANT: CONTEXT-OBJ-IN-CALLBACK-P 3
-PRIVATE>
-
! Runtime errors must be kept in sync with:
! vm/errors.hpp
+
CONSTANT: kernel-error-count 19
+
CONSTANT: ERROR-EXPIRED 0
CONSTANT: ERROR-IO 1
CONSTANT: ERROR-NOT-IMPLEMENTED 2
CONSTANT: ERROR-MEMORY 16
CONSTANT: ERROR-FP-TRAP 17
CONSTANT: ERROR-INTERRUPT 18
+
+PRIVATE>
USING: continuations kernel literals math math.order namespaces make
strings strings.private sbufs tools.test sequences vectors
-arrays memory prettyprint io.streams.null ;
+arrays memory prettyprint io.streams.null kernel.private ;
IN: strings.tests
[ CHAR: b ] [ 1 >bignum "abc" nth ] unit-test
! See http://factorcode.org/license.txt for BSD license.
USING: continuations decimals grouping kernel literals locals
math math.functions math.order math.ratios prettyprint random
-sequences tools.test ;
+sequences tools.test kernel.private ;
IN: decimals.tests
[ t ] [