diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-06-06 17:50:16 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2015-06-06 17:50:16 +0000 |
commit | 5ac2026f7eed78958d69d051e7a8e993dcf51205 (patch) | |
tree | 298c3d2f08bdfe5689998b11892d72a897985be1 /t/todo_tests/moose_and_threads.t | |
download | Moose-tarball-5ac2026f7eed78958d69d051e7a8e993dcf51205.tar.gz |
Moose-2.1405HEADMoose-2.1405master
Diffstat (limited to 't/todo_tests/moose_and_threads.t')
-rw-r--r-- | t/todo_tests/moose_and_threads.t | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/t/todo_tests/moose_and_threads.t b/t/todo_tests/moose_and_threads.t new file mode 100644 index 0000000..a0316fe --- /dev/null +++ b/t/todo_tests/moose_and_threads.t @@ -0,0 +1,38 @@ +use strict; +use warnings; + +use Test::More; + + +=pod + +See this for some details: + +http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=476579 + +Here is the basic test case, it segfaults, so I am going +to leave it commented out. Basically it seems that there +is some bad interaction between the ??{} construct that +is used in the "parser" for type definitions and threading +so probably the fix would involve removing the ??{} usage +for something else. + +use threads; + +{ + package Foo; + use Moose; + has "bar" => (is => 'rw', isa => "Str | Num"); +} + +my $thr = threads->create(sub {}); +$thr->join(); + +=cut + +{ + local $TODO = 'This is just a stub for the test, see the POD'; + fail('Moose type constraints and threads dont get along'); +} + +done_testing; |