Wiki

Ticket #128 (closed defect: fixed)

Opened 9 years ago

Last modified 9 years ago

active record test fixture won't compile

Reported by: gauthier Owned by: Chuck
Priority: major Milestone: Cobra 0.9
Component: Cobra Compiler Version: 0.8.0
Keywords: Cc:

Description

compiling with:

cobra -reveal-internal-exceptions -v:3 -ref:Castle.ActiveRecord.dll -ref:Castle.ActiveRecord.Tests.dll -ref:Castle.Components.Validator.dll test.cobra

see  http://cobra-language.com/forums/viewtopic.php?f=4&t=274 topic

Change History

Changed 9 years ago by Chuck

See also ticket:125

Changed 9 years ago by Chuck

  • owner set to Chuck
  • status changed from new to accepted

I've reduced it down to this program which should fail, but does not. Will fix.

namespace A

	namespace B
	
		class Foo
			pass
	
	class Bar
		pass


namespace Main

	use A.B
	
	class P
	
		def main is shared
			Bar()  # should fail since there is no "use A"

Changed 9 years ago by Chuck

  • status changed from accepted to closed
  • resolution set to fixed

This particular problem should be fixed by changeset:1895.

Note: See TracTickets for help on using tickets.