Nathaniel | 4 Jan 2011 03:05
Picon
Favicon

Method 'Bool' not found for invocant of class 'Integer'

OK: I get this message when running a .pir file from an embedded
parrot interpreter, but not when I actually call parrot from a command
line.  My guess is that there is perhaps a .pbc file missing from the
area where I have set up a runtime directory structure mimicking the
rakudo release, but I've tried copying everything over and I can't
seem to find what is present in the rakudo directory but not in the
one for my executable.  Is there some c method I can call to point a
parrot interpreter at a particular runtime directory -- like the same
one as rakudo/perl6 itself uses?

noreply | 5 Jan 2011 06:02

[perl6/specs] 925901: structs come as either values or objects

Branch: refs/heads/master
Home:   https://github.com/perl6/specs

Commit: 92590165ab03e553c1465a282c546875c3039ce8
    https://github.com/perl6/specs/commit/92590165ab03e553c1465a282c546875c3039ce8
Author: Larry Wall <larry <at> edo.(none)>
Date:   2011-01-04 (Tue, 04 Jan 2011)

Changed paths:
  M S09-data.pod

Log Message:
-----------
structs come as either values or objects

The treatement of a compact struct as a value or as an
object depends on whether there are mutators.

noreply | 5 Jan 2011 20:51

[perl6/specs] 7d7fda: remove mentions of particular run-time systems fro...

Branch: refs/heads/master
Home:   https://github.com/perl6/specs

Commit: 7d7fdaf631042d9ccef999b603d419d04c0f5358
    https://github.com/perl6/specs/commit/7d7fdaf631042d9ccef999b603d419d04c0f5358
Author: diakopter <diakopter <at> gmail.com>
Date:   2011-01-05 (Wed, 05 Jan 2011)

Changed paths:
  M S09-data.pod

Log Message:
-----------
remove mentions of particular run-time systems from S09

noreply | 5 Jan 2011 21:01

[perl6/specs] 606dba: clarify implementation-specific sounding/implying ...

Branch: refs/heads/master
Home:   https://github.com/perl6/specs

Commit: 606dba7ea87de9235ca3e0eb18a4f115aec5f006
    https://github.com/perl6/specs/commit/606dba7ea87de9235ca3e0eb18a4f115aec5f006
Author: diakopter <diakopter <at> gmail.com>
Date:   2011-01-05 (Wed, 05 Jan 2011)

Changed paths:
  M S19-commandline.pod

Log Message:
-----------
clarify implementation-specific sounding/implying examples in S19 with another example.
See S02:2985 for another example of multiplicity.

noreply | 5 Jan 2011 21:03

[perl6/specs] 344239: remove (implementation-specific) fossil from S06

Branch: refs/heads/master
Home:   https://github.com/perl6/specs

Commit: 34423967675c30407ec634ab51bc9109a3898618
    https://github.com/perl6/specs/commit/34423967675c30407ec634ab51bc9109a3898618
Author: diakopter <diakopter <at> gmail.com>
Date:   2011-01-05 (Wed, 05 Jan 2011)

Changed paths:
  M S06-routines.pod

Log Message:
-----------
remove (implementation-specific) fossil from S06

noreply | 5 Jan 2011 23:14

[perl6/specs] 75b4ff: Defer wildcard delegation to dispatch failover

Branch: refs/heads/master
Home:   https://github.com/perl6/specs

Commit: 75b4fff7d88c6214d4086c0916e8595c48462005
    https://github.com/perl6/specs/commit/75b4fff7d88c6214d4086c0916e8595c48462005
Author: Larry Wall <larry <at> wall.org>
Date:   2011-01-05 (Wed, 05 Jan 2011)

Changed paths:
  M S12-objects.pod

Log Message:
-----------
Defer wildcard delegation to dispatch failover

Wildcard delegation should not be used for methods that are in
the object's own ancestry (especially .new).  Use explicit delegation
or mixins to acquire such methods.

Commit: af947e981ca92e316a4841a022b52f23230e464f
    https://github.com/perl6/specs/commit/af947e981ca92e316a4841a022b52f23230e464f
Author: Larry Wall <larry <at> wall.org>
Date:   2011-01-05 (Wed, 05 Jan 2011)

Changed paths:
  M S06-routines.pod
  M S09-data.pod
  M S19-commandline.pod

Log Message:
(Continue reading)

noreply | 5 Jan 2011 23:25

[perl6/specs] 9642ed: apply val() semantics to <...> and MAIN

Branch: refs/heads/master
Home:   https://github.com/perl6/specs

Commit: 9642ed9725f5bac9ba093570e45a4a2adc3e7cf5
    https://github.com/perl6/specs/commit/9642ed9725f5bac9ba093570e45a4a2adc3e7cf5
Author: Larry Wall <larry <at> wall.org>
Date:   2011-01-05 (Wed, 05 Jan 2011)

Changed paths:
  M S02-bits.pod
  M S06-routines.pod

Log Message:
-----------
apply val() semantics to <...> and MAIN

Define a new dwimmer that is appropriate for use in situations where
users are forced to enter text that might actually mean numbers or enums.

Moritz Lenz via RT | 5 Jan 2011 20:19
Picon
Favicon

[perl #81548] [BUG] Can't do 'handles' on a type in Rakudo

FWIW 'has $!a handles TypeObject' is now implemented, and works fine for
roles.

It doesn't work for classes, because they have a .new method. So the
standard .new is overridden, trying to call the .new on an attribute,
but since there's no instance yet, the access to the attribute fails.

That's a conceptual problem and needs a spec resolution.

One possible approach would be to only install methods not yet present
in $?CLASS or its superclassess.... any better ideas?

Moritz

noreply | 7 Jan 2011 07:16

[perl6/specs] b046dd: minor grammaro in S02

Branch: refs/heads/master
Home:   https://github.com/perl6/specs

Commit: b046dd93327ea79fa8cab85acdd3ab3a6cabf9bf
    https://github.com/perl6/specs/commit/b046dd93327ea79fa8cab85acdd3ab3a6cabf9bf
Author: diakopter <diakopter <at> gmail.com>
Date:   2011-01-06 (Thu, 06 Jan 2011)

Changed paths:
  M S02-bits.pod

Log Message:
-----------
minor grammaro in S02

noreply | 9 Jan 2011 15:40

[perl6/specs] 3018ff: [S02] outlawed :exists on a list slice

Branch: refs/heads/master
Home:   https://github.com/perl6/specs

Commit: 3018ff242a8e8277d6acac365f875603922ebc96
    https://github.com/perl6/specs/commit/3018ff242a8e8277d6acac365f875603922ebc96
Author: Carl Masak <cmasak <at> gmail.com>
Date:   2011-01-09 (Sun, 09 Jan 2011)

Changed paths:
  M S02-bits.pod
  M S03-operators.pod
  M S32-setting-library/Containers.pod

Log Message:
-----------
[S02] outlawed :exists on a list slice

People seem to have different expectations on whether the
desugaring should be any( <at> slice) or all( <at> slice), so we
require making it explicit. This also makes the code more
readable and self-documenting.


Gmane