# New Ticket Created by  Zoffix Znet 
# Please include the string:  [perl #127192]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=127192 >


See evaluated code below and the error it produces (Constraint type check 
failed for parameter '$precomp-id'). This does not appear if the `say` 
statement is removed. I also tried using `put`, producing the same error.


$ cat Foo.pm6 
class Foo {
    BEGIN { say 42 };
}
$ perl6 -I. -e 'use Foo'
===SORRY!===
Constraint type check failed for parameter '$precomp-id'
$ perl6 -I. -e 'use Foo'
===SORRY!===
Failed to open file 
/tmp/tmp.9290Wjs0ef/.precomp/01577C41E8B9AB77E8C1E6F68F5D1DA5A4F04EE9.1452007419.50358/6E/6E428ABBFD62CCF8C57C45F9E4329CB0A420A920.deps:
 no such file or directory
$ perl6 -I. -e 'use Foo'

Reply via email to