kernel: change errors to be in kernel.private.

db4
John Benediktsson 2014-06-04 14:33:02 -07:00
parent 6627a3327b
commit 05c35ebda3
7 changed files with 13 additions and 11 deletions

View File

@ -1,6 +1,6 @@
USING: tools.test namespaces assocs alien.syntax kernel
compiler.errors accessors alien alien.c-types alien.strings
debugger literals ;
debugger literals kernel.private ;
FROM: alien.libraries => add-library load-library ;
IN: compiler.tests.linkage-errors

View File

@ -5,11 +5,11 @@ classes.builtin classes.mixin classes.tuple classes.tuple.parser
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

View File

@ -1,7 +1,7 @@
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 ( -- )

View File

@ -2,7 +2,7 @@ USING: arrays byte-arrays kernel kernel.private literals math
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

View File

@ -363,11 +363,11 @@ CONSTANT: CONTEXT-OBJ-CATCHSTACK 1
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
@ -387,3 +387,5 @@ CONSTANT: ERROR-CALLSTACK-OVERFLOW 15
CONSTANT: ERROR-MEMORY 16
CONSTANT: ERROR-FP-TRAP 17
CONSTANT: ERROR-INTERRUPT 18
PRIVATE>

View File

@ -1,6 +1,6 @@
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

View File

@ -2,7 +2,7 @@
! 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 ] [