infinite loop while compiling

Found a bug in the language, the VM or the compiler? help us iron things out or give ideas for doing things better.
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
User avatar
Khan
Intermediate
Posts:69
Joined:Fri Sep 17, 2004 9:31 am
Location:src/packages/collections/
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
infinite loop while compiling

Post by Khan » Wed Oct 27, 2004 9:27 am

Dude, there is something strange going on here....

When I try to run the following code

Code: Select all

requires "Collections"
requires "Introspection"
requires "DSUnit"


pin Collections
pin DSUnit
pin Introspection

class LinkedListTest extends TestCase
end

class TestScript extends Application
	func new()
	end
	
	func int run()
		return 0
	end
end
i get an infinte loop. :roll:
CPU usage is up but nothing happens until Ctrl-C.

I made some changes to DSUnit and didn't commit them yet. Chances are good that it won't compile. I wanted to test if it compiles but due to the above problem I couldn't. If you can't reproduce it, I will commit the changes.

User avatar
Dragonlord
Forum Administrator
Posts:609
Joined:Fri Jul 30, 2004 4:30 pm
Location:Switzerland
Contact:

Post by Dragonlord » Wed Oct 27, 2004 4:40 pm

works with me without problems.

make sure that you:
- do "./reconf && ./configure --prefix=???"
- do "make clean && make && make install"

automake is a bit coughy and causes weird problems if not cleanly build.
Image
Oh to be a dragon, of silkworm size or immense...

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable