Author: jquelin
Date: Thu Oct  4 09:15:28 2007
New Revision: 21829

Modified:
   branches/pdd15oo/t/library/coroutine.t

Log:
more find_type removal

Modified: branches/pdd15oo/t/library/coroutine.t
==============================================================================
--- branches/pdd15oo/t/library/coroutine.t      (original)
+++ branches/pdd15oo/t/library/coroutine.t      Thu Oct  4 09:15:28 2007
@@ -144,9 +144,9 @@
        .param pmc tree1
        .param pmc tree2
 
-       .local int coro_class
-       coro_class = find_type 'Parrot::Coroutine'
-       if coro_class goto found
+       .local pmc coro_class
+    coro_class = get_class 'Parrot::Coroutine'
+    unless null coro_class goto found
        printerr "Bug:  Can't find 'Parrot::Coroutine' class.\n"
        die 5, 1
 found:

Reply via email to