factor/core/hints/hints-tests.factor

13 lines
359 B
Factor
Raw Normal View History

USING: math hashtables accessors kernel words hints
compiler.tree.debugger tools.test ;
IN: hints.tests
! Regression
GENERIC: blahblah ( a b c -- )
M: hashtable blahblah 2nip [ 1 + ] change-count drop ;
2017-10-12 22:22:41 -04:00
HINTS: M\\ hashtable blahblah { object fixnum object } { object word object } ;
2017-10-12 22:22:41 -04:00
{ t } [ M\\ hashtable blahblah { count>> count<< } inlined? ] unit-test