Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 6b9ec238a7
Fetching contributors…

Cannot retrieve contributors at this time

executable file 601 lines (456 sloc) 14.42 kB
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>#67888: Rakudo Bug Report for strange BUILD behavior</title>
<link rel="shortcut icon" href="/rt3/NoAuth/images//favicon.png" type="image/png" />
<link rel="stylesheet" href="/rt3/NoAuth/css/rt.perl.org/main.css" type="text/css" media="all" />
<link rel="stylesheet" href="/rt3/NoAuth/css/print.css" type="text/css" media="print" />
<script type="text/javascript" src="/rt3/NoAuth/js/util.js"></script>
<script type="text/javascript" src="/rt3/NoAuth/js/titlebox-state.js"></script>
<script type="text/javascript"><!--
onLoadHook("loadTitleBoxStates()");
--></script>
</head>
<body id="comp-Public-Bug-Display">
<div id="logo">
<a href="http://rt.perl.org/rt3/"><img src="/rt3/NoAuth/images//local/pblogo.gif" alt="PerlBug" width="230" height="50"></a>
</div>
<div id="quickbar">
<div id="quick-personal">
<span class="hide"><a href="#skipnav">Skip Menu</a> | </span>
You are currently an anonymous guest.
|
<a href="/rt3/NoAuth/Logout.html?URL=/rt3/index.html?goto=%252FPublic%252FBug%252FDisplay.html%253Fid%253D67888">Login</a>
|
<a href="/rt3/NoAuth/Logout.html">Return to Main</a>
| <a href="/rt3/User/Prefs.html">Preferences</a>
</div>
<div id="topactions">
<span class="topaction">
<form action="/rt3/Public/Search/Simple.html">
<input size="12" name="q" autocomplete="off" accesskey="0" class="field" />
<input type="submit" class="button" value="Search" />
</form>
</span>
</div>
</div>
<div id="nav">
<ul id="system-menu">
<div><div class="wrapper">
</div></div>
</ul>
</div>
<div id="header">
<h1>#67888: Rakudo Bug Report for strange BUILD behavior</h1>
<ul id="page-menu">
<div><div><div>
&nbsp;
</div></div></div>
</ul>
</div>
<div id="body">
<a name="skipnav" id="skipnav" accesskey="8"></a>
<div class="">
<div class="titlebox " id="">
<div class="titlebox-title">
<span class="widget"><a href="#" onclick="return rollup('TitleBox--_Public_Bug_Display.html------Report information---0');" onfocus="this.blur(); return false;" title="Toggle visibility">X</a></span>
<span class="left">Report information</span>
<span class="right"></span>
</div>
<div class="titlebox-content " id="TitleBox--_Public_Bug_Display.html------Report information---0">
<table width="100%" class="ticket-summary">
<tr>
<td valign="top" width="50%" class="boxcontainer">
<div class="ticket-info-basics">
<div class="titlebox ticket-info-basics" id="">
<div class="titlebox-title">
<span class="widget"><a href="#" onclick="return rollup('TitleBox--_Public_Bug_Display.html--ticket-info-basics----The Basics---0');" onfocus="this.blur(); return false;" title="Toggle visibility">X</a></span>
<span class="left"><a href="/rt3/Ticket/Modify.html?id=67888">The Basics</a></span>
<span class="right"></span>
</div>
<div class="titlebox-content " id="TitleBox--_Public_Bug_Display.html--ticket-info-basics----The Basics---0">
<table>
<tr>
<td class="label id">Id:</td>
<td class="value id">67888</td>
</tr>
<tr>
<td class="label status">Status:</td>
<td class="value status">open</td>
</tr>
<tr>
<td class="label time left">Left:</td>
<td class="value time left">0 min
</td>
</tr>
<tr>
<td class="label priority">Priority:</td>
<td class="value priority">0/0</td>
</tr>
<tr>
<td class="label queue">Queue:</td>
<td class="value queue">perl6
</td>
</tr>
</table>
<hr class="clear" />
</div>
</div>
</div>
<div class="ticket-info-people">
<div class="titlebox ticket-info-people" id="">
<div class="titlebox-title">
<span class="widget"><a href="#" onclick="return rollup('TitleBox--_Public_Bug_Display.html--ticket-info-people----People---0');" onfocus="this.blur(); return false;" title="Toggle visibility">X</a></span>
<span class="left"><a href="/rt3/Ticket/ModifyPeople.html?id=67888">People</a></span>
<span class="right"></span>
</div>
<div class="titlebox-content " id="TitleBox--_Public_Bug_Display.html--ticket-info-people----People---0">
<table>
<tr>
<td class="label">Owner:</td>
<td class="value">
Nobody
</td>
</tr>
<tr>
<td class="labeltop">Requestors:</td>
<td class="value">
hoelzro
&lt;rob [at] hoelzro.net&gt;
<br />
</td>
</tr>
<tr>
<td class="labeltop">Cc:</td>
<td class="value">
</td>
</tr>
<tr>
<td class="labeltop">AdminCc:</td>
<td class="value">
</td>
</tr>
</table>
<hr class="clear" />
</div>
</div>
</div>
</td>
<td valign="top" width="50%" class="boxcontainer">
<div class="ticket-info-cfs">
<div class="titlebox ticket-info-cfs" id="">
<div class="titlebox-title">
<span class="widget"><a href="#" onclick="return rollup('TitleBox--_Public_Bug_Display.html--ticket-info-cfs----Bug Information---0');" onfocus="this.blur(); return false;" title="Toggle visibility">X</a></span>
<span class="left"><a href="/rt3/Ticket/Modify.html?id=67888">Bug Information</a></span>
<span class="right"></span>
</div>
<div class="titlebox-content " id="TitleBox--_Public_Bug_Display.html--ticket-info-cfs----Bug Information---0">
<table>
<tr id="CF-18-ShowRow">
<td class="label">Severity:</td>
<td class="value">
<i>(no value)</i>
</td>
</tr>
<tr id="CF-19-ShowRow">
<td class="label">Tag:</td>
<td class="value">
<i>(no value)</i>
</td>
</tr>
<tr id="CF-20-ShowRow">
<td class="label">Platform:</td>
<td class="value">
<i>(no value)</i>
</td>
</tr>
<tr id="CF-21-ShowRow">
<td class="label">Patch Status:</td>
<td class="value">
<i>(no value)</i>
</td>
</tr>
</table>
<hr class="clear" />
</div>
</div>
</div>
<div class="ticket-info-links">
<div class="titlebox ticket-info-links" id="">
<div class="titlebox-title">
<span class="widget"><a href="#" onclick="return rollup('TitleBox--_Public_Bug_Display.html--ticket-info-links----Links---0');" onfocus="this.blur(); return false;" title="Toggle visibility">X</a></span>
<span class="left"><a href="/rt3/Ticket/ModifyLinks.html?id=67888">Links</a></span>
<span class="right"></span>
</div>
<div class="titlebox-content " id="TitleBox--_Public_Bug_Display.html--ticket-info-links----Links---0">
<table>
<tr>
<td class="labeltop">Depends on:</td>
<td class="value">
<ul>
</ul>
</td>
</tr>
<tr>
<td class="labeltop">Depended on by:</td>
<td class="value">
<ul>
</ul>
</td>
</tr>
<tr>
<td class="labeltop">Parents:</td>
<td class="value">
<ul>
</ul>
</td>
</tr>
<tr>
<td class="labeltop">Children:</td>
<td class="value"></td>
</tr>
<tr>
<td class="labeltop">Refers to:</td>
<td class="value">
<ul>
</ul>
</td>
</tr>
<tr>
<td class="labeltop">Referred to by:</td>
<td class="value">
<ul>
</ul>
</td>
</tr>
</table>
<hr class="clear" />
</div>
</div>
</div>
</td>
</tr>
</table>
<hr class="clear" />
</div>
</div>
</div>
<br />
<div class="titlebox " id="">
<div class="titlebox-title">
<span class="widget"><a href="#" onclick="return rollup('TitleBox--_Public_Bug_Display.html------History---0');" onfocus="this.blur(); return false;" title="Toggle visibility">X</a></span>
<span class="left">History</span>
<span class="right"><span style="color: black">Display mode:</span> <span class="selected">Brief headers</span> &mdash; <a href="/rt3/Ticket/Display.html?ShowHeaders=1;id=67888">Full headers</a></span>
</div>
<div class="titlebox-content " id="TitleBox--_Public_Bug_Display.html------History---0">
<div id="ticket-history">
<div class="ticket-transaction message odd">
<table width="100%" cellspacing="0" cellpadding="2" border="0">
<tr>
<td rowspan="2" valign="top" class="type">
<a name="txn-590420" href="/rt3/Ticket/Display.html?id=67888#txn-590420">#</a>
&nbsp;
</td>
<td class="date">Sat&nbsp;Jul&nbsp;25&nbsp;15:37:25&nbsp;2009</td>
<td class="description">
hoelzro - Ticket created
</td>
<td class="time-taken"></td>
<td class="actions">&nbsp;</td>
</tr>
<tr>
<td colspan="4" class="content">
<table>
<tr>
<td align="right" class="message-header-key">Subject:</td>
<td class="message-header-value">Rakudo Bug Report for strange BUILD behavior</td>
</tr>
<tr>
<td align="right" class="message-header-key">Date:</td>
<td class="message-header-value">Sat, 25 Jul 2009 17:36:50 -0500</td>
</tr>
<tr>
<td align="right" class="message-header-key">To:</td>
<td class="message-header-value">rakudobug <!-- x --> at perl.org</td>
</tr>
<tr>
<td align="right" class="message-header-key">From:</td>
<td class="message-header-value">Rob Hoelz &lt;rob <!-- x --> at hoelzro.net&gt;</td>
</tr>
</table>
<div class="downloadattachment">
<a href="/rt3/Ticket/Attachment/590420/281312/">Download &#40;untitled&#41;</a>
<span class="downloadcontenttype">
[text/plain 308b]
</span>
</div>
<div class="messagebody">
<div class="message-stanza-depth-0">
Rakudo Revision: 240b9847f901971756be969951f8940b371cf166<br />
Parrot Revision: r40249<br />
<br />
Offending code:<br />
<br />
class OnlineRepl is Perl6::Compiler<br />
{<br />
submethod BUILD<br />
{<br />
say &#39;building an online REPL&#39;;<br />
}<br />
}<br />
OnlineRepl.new;<br />
<br />
Actual output: &lt;none&gt;<br />
Expected output: &#39;building an online REPL&#39;;<br />
<br />
Patch: none yet =&#40;<br />
</div>
</div>
</td>
</tr>
</table>
</div>
<div class="ticket-transaction message even">
<table width="100%" cellspacing="0" cellpadding="2" border="0">
<tr>
<td rowspan="2" valign="top" class="type">
<a name="txn-590426" href="/rt3/Ticket/Display.html?id=67888#txn-590426">#</a>
&nbsp;
</td>
<td class="date">Sat&nbsp;Jul&nbsp;25&nbsp;15:50:34&nbsp;2009</td>
<td class="description">
KyleHa - Correspondence added
</td>
<td class="time-taken"></td>
<td class="actions">&nbsp;</td>
</tr>
<tr>
<td colspan="4" class="content">
<table>
<tr>
<td align="right" class="message-header-key">Subject:</td>
<td class="message-header-value">[perl #67888] tests available</td>
</tr>
<tr>
<td align="right" class="message-header-key">Date:</td>
<td class="message-header-value">Sat, 25 Jul 2009 17:50:04 -0500</td>
</tr>
<tr>
<td align="right" class="message-header-key">To:</td>
<td class="message-header-value">perl6-bugs-followup <!-- x --> at perl.org</td>
</tr>
<tr>
<td align="right" class="message-header-key">From:</td>
<td class="message-header-value">kyleha <!-- x --> at gmail.com</td>
</tr>
</table>
<div class="downloadattachment">
<a href="/rt3/Ticket/Attachment/590426/281318/">Download &#40;untitled&#41;</a>
<span class="downloadcontenttype">
[text/plain 1k]
</span>
</div>
<div class="messagebody">
<div class="message-stanza-depth-0">
This is an automatically generated mail to inform you that tests are now available in t/spec/S12-construction/BUILD.t<br />
<br />
commit 59f6d2c291dcd44ec88ee6ab5d058919e3c65f94<br />
Author: hoelzro &lt;hoelzro@c213334d-75ef-0310-aa23-eaa082d1ae64&gt;<br />
Date: Sat Jul 25 22:49:35 2009 +0000<br />
<br />
Added a test for RT #67888 &#40;Perl6::Compiler subclassing and BUILD&#41;<br />
<br />
<br />
git-svn-id: http://svn.pugscode.org/pugs@27733 c213334d-75ef-0310-aa23-eaa082d1ae64<br />
<br />
diff --git a/t/spec/S12-construction/BUILD.t b/t/spec/S12-construction/BUILD.t<br />
index f513929..fce3974 100644<br />
--- a/t/spec/S12-construction/BUILD.t<br />
+++ b/t/spec/S12-construction/BUILD.t<br />
@@ -1,7 +1,7 @@<br />
use v6;<br />
use Test;<br />
<br />
-plan 7;<br />
+plan 8;<br />
<br />
class Parent {<br />
has Str $.gather is rw = &#39;&#39;;<br />
@@ -81,4 +81,17 @@ is $obj.gather, &#39;Parent&#40;a&#41;: &#40;7&#41; | Child&#40;a, b&#41;: &#40;7, 5&#41;&#39;,<br />
is $c.counter&lt;BUILD&gt;, 1, &#39;BUILD called once&#39;;<br />
}<br />
<br />
+{<br />
+my $counter = 0;<br />
+<br />
+class TestCompiler is Perl6::Compiler {<br />
+ submethod BUILD {<br />
+ $counter = 1;<br />
+ }<br />
+}<br />
+<br />
+TestCompiler.new;<br />
+is $counter, 1, &#34;testing BUILD in compiler subclass&#34;;<br />
+}<br />
+<br />
<div class="message-stanza-depth-1">
# vim: ft=perl6<br />
</div>
</div>
</div>
</td>
</tr>
</table>
</div>
<div class="ticket-transaction basics odd">
<table width="100%" cellspacing="0" cellpadding="2" border="0">
<tr>
<td rowspan="2" valign="top" class="type">
<a name="txn-590430" href="/rt3/Ticket/Display.html?id=67888#txn-590430">#</a>
<a name="lasttrans">&nbsp;</a>
</td>
<td class="date">Sat&nbsp;Jul&nbsp;25&nbsp;15:50:35&nbsp;2009</td>
<td class="description">
RT_System - Status changed from &#39;new&#39; to &#39;open&#39;
</td>
<td class="time-taken"></td>
<td class="actions">&nbsp;</td>
</tr>
<tr>
<td colspan="4" class="content">
</td>
</tr>
</table>
</div>
</div>
<hr class="clear" />
</div>
</div>
</div>
<hr size=0>
<div>
For issues related to this RT instance (aka "perlbug"), please contact <tt>perlbug-admin at perl.org</tt>
</div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-50555-18");
pageTracker._initData();
pageTracker._trackPageview();
</script>
<div id="footer">
<p id="time">
<span>Time to display: 0.827096</span>
</p>
<p id="bpscredits">
<span>
&#187;&#124;&#171; RT 3.6.HEAD Copyright 1996-2006 <a href="http://www.bestpractical.com?rt=3.6.HEAD">Best Practical Solutions, LLC</a>.
</span>
</p>
</div>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.