Perl 6 - the future is here, just unevenly distributed

IRC log for #parrot, 2016-02-17

Parrot | source cross referenced

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:51 dustinm joined #parrot
00:54 stryx` joined #parrot
00:54 janus joined #parrot
08:12 ilbot2 joined #parrot
08:12 Topic for #parrot is now Parrot 7.9.0 "Sangihe hanging parrot" | http://parrot.org/ | Log: http://irclog.perlgeek.de/parrot | #parrotsketch meeting Fridays 13:30 UTC
09:23 dalek joined #parrot
13:23 dalek parrot/smoke-me/sh-rw-gh245: 5ec2f0a | rurban++ | / (7 files):
13:23 dalek parrot/smoke-me/sh-rw-gh245: [pmc] deprecate StringHandle auto-reopen and auto-read
13:23 dalek parrot/smoke-me/sh-rw-gh245:
13:23 dalek parrot/smoke-me/sh-rw-gh245: deprecate PIO_VF_AWAYS_READABLE. (yes, a typo)
13:23 dalek parrot/smoke-me/sh-rw-gh245: make StringHandle read/write mode, and auto-reopen strict.
13:23 dalek parrot/smoke-me/sh-rw-gh245: StringHandle needs to be consistent with the FileHandle API.
13:23 dalek parrot/smoke-me/sh-rw-gh245: I.e. reading from a handle open for writing needs to fail,
13:23 dalek parrot/smoke-me/sh-rw-gh245: ditto writing to a handle open for reading. (already tested
13:23 dalek parrot/smoke-me/sh-rw-gh245: and handled correctly)
13:23 dalek parrot/smoke-me/sh-rw-gh245:
13:23 dalek parrot/smoke-me/sh-rw-gh245: Add testcase for read/write mode errors.
13:23 dalek parrot/smoke-me/sh-rw-gh245:
13:23 dalek parrot/smoke-me/sh-rw-gh245: Add a seek(0,0) to various readall places on closed
13:23 dalek parrot/smoke-me/sh-rw-gh245: write-only handles, and change those handles to "rw".
13:23 dalek parrot/smoke-me/sh-rw-gh245:
13:23 dalek parrot/smoke-me/sh-rw-gh245: Closes GH #245.
13:23 dalek parrot/smoke-me/sh-rw-gh245: review: https://github.com/parrot/parrot/commit/5ec2f0a54e
13:40 travis-ci joined #parrot
13:40 travis-ci parrot/parrot#1707 (smoke-me/sh-rw-gh245 - 5ec2f0a : Reini Urban): The build passed.
13:40 travis-ci Change view : https://github.com/parrot/​parrot/commit/5ec2f0a54e4a
13:40 travis-ci Build details : https://travis-ci.org/parr​ot/parrot/builds/109862111
13:40 travis-ci left #parrot
14:08 Coke joined #parrot
14:17 dalek parrot/smoke-me/sh-rw-gh245: 434ebf1 | rurban++ | / (8 files):
14:17 dalek parrot/smoke-me/sh-rw-gh245: [pmc] deprecate StringHandle auto-reopen and auto-read
14:17 dalek parrot/smoke-me/sh-rw-gh245:
14:17 dalek parrot/smoke-me/sh-rw-gh245: deprecate PIO_VF_AWAYS_READABLE. (yes, a typo)
14:17 dalek parrot/smoke-me/sh-rw-gh245: make StringHandle read/write mode, and auto-reopen strict.
14:17 dalek parrot/smoke-me/sh-rw-gh245: StringHandle needs to be consistent with the FileHandle API.
14:17 dalek parrot/smoke-me/sh-rw-gh245: I.e. reading from a handle open for writing needs to fail,
14:17 dalek parrot/smoke-me/sh-rw-gh245: ditto writing to a handle open for reading. (already tested
14:17 dalek parrot/smoke-me/sh-rw-gh245: and handled correctly)
14:17 dalek parrot/smoke-me/sh-rw-gh245:
14:17 dalek parrot/smoke-me/sh-rw-gh245: Add testcase for read/write mode errors.
14:17 dalek parrot/smoke-me/sh-rw-gh245:
14:17 dalek parrot/smoke-me/sh-rw-gh245: Add a seek(0,0) to various readall places on closed
14:17 dalek parrot/smoke-me/sh-rw-gh245: write-only handles, and change those handles to "rw".
14:17 dalek parrot/smoke-me/sh-rw-gh245:
14:17 dalek parrot/smoke-me/sh-rw-gh245: Closes GH #245.
14:17 dalek parrot/smoke-me/sh-rw-gh245: review: https://github.com/parrot/parrot/commit/434ebf14ec
14:17 dalek parrot/smoke-me/sh-rw-gh245: e29df85 | rurban++ | frontend/parrot2/prt0.pir:
14:17 dalek parrot/smoke-me/sh-rw-gh245: make bootstrap-prt0 with Winxed 1.10
14:17 dalek parrot/smoke-me/sh-rw-gh245: review: https://github.com/parrot/parrot/commit/e29df851f7
14:17 dalek parrot/smoke-me/sh-rw-gh245: abdee8a | rurban++ | src/string/namealias.c:
14:17 dalek parrot/smoke-me/sh-rw-gh245: make bootstrap-namealias with added inline
14:17 dalek parrot/smoke-me/sh-rw-gh245: review: https://github.com/parrot/parrot/commit/abdee8aa62
14:36 dalek parrot/smoke-me/sh-rw-gh245: 2979008 | rurban++ | / (8 files):
14:36 dalek parrot/smoke-me/sh-rw-gh245: [pmc] deprecate StringHandle auto-reopen and auto-read
14:36 dalek parrot/smoke-me/sh-rw-gh245:
14:36 dalek parrot/smoke-me/sh-rw-gh245: deprecate PIO_VF_AWAYS_READABLE. (yes, a typo)
14:36 dalek parrot/smoke-me/sh-rw-gh245: make StringHandle read/write mode, and auto-reopen strict.
14:36 dalek parrot/smoke-me/sh-rw-gh245: StringHandle needs to be consistent with the FileHandle API.
14:36 dalek parrot/smoke-me/sh-rw-gh245: I.e. reading from a handle open for writing needs to fail,
14:36 dalek parrot/smoke-me/sh-rw-gh245: ditto writing to a handle open for reading. (already tested
14:36 dalek parrot/smoke-me/sh-rw-gh245: and handled correctly)
14:36 dalek parrot/smoke-me/sh-rw-gh245:
14:36 dalek parrot/smoke-me/sh-rw-gh245: Add testcase for read/write mode errors.
14:36 dalek parrot/smoke-me/sh-rw-gh245:
14:36 dalek parrot/smoke-me/sh-rw-gh245: Add a seek(0,0) to various readall places on closed
14:36 dalek parrot/smoke-me/sh-rw-gh245: write-only handles, and change those handles to "rw".
14:36 dalek parrot/smoke-me/sh-rw-gh245:
14:36 dalek parrot/smoke-me/sh-rw-gh245: Closes GH #245.
14:36 dalek parrot/smoke-me/sh-rw-gh245: review: https://github.com/parrot/parrot/commit/2979008692
14:36 dalek parrot/smoke-me/sh-rw-gh245: ebe5cd4 | rurban++ | frontend/parrot2/prt0.pir:
14:36 dalek parrot/smoke-me/sh-rw-gh245: make bootstrap-prt0 with Winxed 1.10
14:36 dalek parrot/smoke-me/sh-rw-gh245: review: https://github.com/parrot/parrot/commit/ebe5cd4dd6
14:36 dalek parrot/smoke-me/sh-rw-gh245: 9430d61 | rurban++ | src/string/namealias.c:
14:36 dalek parrot/smoke-me/sh-rw-gh245: make bootstrap-namealias with added inline
14:36 dalek parrot/smoke-me/sh-rw-gh245: review: https://github.com/parrot/parrot/commit/9430d613a1
14:57 travis-ci joined #parrot
14:57 travis-ci parrot/parrot#1709 (smoke-me/sh-rw-gh245 - 9430d61 : Reini Urban): The build passed.
14:57 travis-ci Change view : https://github.com/parrot/parrot/c​ompare/abdee8aa622c...9430d613a111
14:57 travis-ci Build details : https://travis-ci.org/parr​ot/parrot/builds/109879258
14:57 travis-ci left #parrot
15:00 dalek parrot/rurban/builtin+sub-gh304: 8ae5ffe | rurban++ | t/pmc/namespace-subs.t:
15:00 dalek parrot/rurban/builtin+sub-gh304: [test] sub dispatch with builtin namespace
15:00 dalek parrot/rurban/builtin+sub-gh304:
15:00 dalek parrot/rurban/builtin+sub-gh304: Subs in "built-in PMC" namespaces are treated as PMC methods even
15:00 dalek parrot/rurban/builtin+sub-gh304: without the :method attribute.
15:00 dalek parrot/rurban/builtin+sub-gh304:
15:00 dalek parrot/rurban/builtin+sub-gh304: P1=new Integer
15:00 dalek parrot/rurban/builtin+sub-gh304: P1.foo()
15:00 dalek parrot/rurban/builtin+sub-gh304:
15:00 dalek parrot/rurban/builtin+sub-gh304: namespace Integer
15:00 dalek parrot/rurban/builtin+sub-gh304: sub foo
15:00 dalek parrot/rurban/builtin+sub-gh304:
15:00 dalek parrot/rurban/builtin+sub-gh304: Should error with
15:00 dalek parrot/rurban/builtin+sub-gh304:   Method 'foo' not found for invocant of class 'Integer'
15:00 dalek parrot/rurban/builtin+sub-gh304: as it happens with subs of new namespaces.
15:00 dalek parrot/rurban/builtin+sub-gh304:
15:00 dalek parrot/rurban/builtin+sub-gh304: This allows overriding of builtin methods, but it also makes it
15:00 dalek parrot/rurban/builtin+sub-gh304: impossible to write "class methods" that translate behaviors, since the
15:00 dalek parrot/rurban/builtin+sub-gh304: presence or absence of the :method attribute on the sub is ignored.
15:00 dalek parrot/rurban/builtin+sub-gh304:
15:00 dalek parrot/rurban/builtin+sub-gh304: See GH #304, prev. TT #1108
15:00 dalek parrot/rurban/builtin+sub-gh304: review: https://github.com/parrot/parrot/commit/8ae5ffe814
17:02 Util joined #parrot
17:36 dngor joined #parrot
18:11 Psyche^ joined #parrot
18:11 stryx` joined #parrot
18:19 dalek parrot/smoke-me/builtin+sub-gh304: 37cb14f | rurban++ | / (4 files):
18:19 dalek parrot/smoke-me/builtin+sub-gh304: [core] fix sub dispatch with builtin namespace
18:19 dalek parrot/smoke-me/builtin+sub-gh304:
18:19 dalek parrot/smoke-me/builtin+sub-gh304: Filter out pure-subs without a method attribute in
18:19 dalek parrot/smoke-me/builtin+sub-gh304: Parrot_find_method_direct(). This harmonizes behavior
18:19 dalek parrot/smoke-me/builtin+sub-gh304: with user-defined namespaces.
18:19 dalek parrot/smoke-me/builtin+sub-gh304:
18:19 dalek parrot/smoke-me/builtin+sub-gh304:     P1=new Integer
18:19 dalek parrot/smoke-me/builtin+sub-gh304:     P1.foo()
18:19 dalek parrot/smoke-me/builtin+sub-gh304:
18:19 dalek parrot/smoke-me/builtin+sub-gh304:     namespace Integer
18:19 dalek parrot/smoke-me/builtin+sub-gh304:     sub foo
18:19 dalek parrot/smoke-me/builtin+sub-gh304:
18:19 dalek parrot/smoke-me/builtin+sub-gh304: Does now error with
18:19 dalek parrot/smoke-me/builtin+sub-gh304:       Method foo not found for invocant of class Integer
18:19 dalek parrot/smoke-me/builtin+sub-gh304: as it happens with subs of new namespaces.
18:19 dalek parrot/smoke-me/builtin+sub-gh304: You need to add a :method attribute.
18:19 dalek parrot/smoke-me/builtin+sub-gh304:
18:19 dalek parrot/smoke-me/builtin+sub-gh304: This allows to write user class methods that translate behaviors.
18:19 dalek parrot/smoke-me/builtin+sub-gh304: Fixes GH #304, prev. TT #1108
18:19 dalek parrot/smoke-me/builtin+sub-gh304: review: https://github.com/parrot/parrot/commit/37cb14f2c3
18:25 dalek parrot/smoke-me/builtin+sub-gh304: 49c3a7a | rurban++ | t/pmc/namespace-subs.t:
18:25 dalek parrot/smoke-me/builtin+sub-gh304: [test] sub dispatch with builtin namespace
18:25 dalek parrot/smoke-me/builtin+sub-gh304:
18:25 dalek parrot/smoke-me/builtin+sub-gh304: Subs in "built-in PMC" namespaces are treated as PMC methods even
18:25 dalek parrot/smoke-me/builtin+sub-gh304: without the :method attribute.
18:25 dalek parrot/smoke-me/builtin+sub-gh304:
18:25 dalek parrot/smoke-me/builtin+sub-gh304: P1=new Integer
18:25 dalek parrot/smoke-me/builtin+sub-gh304: P1.foo()
18:25 dalek parrot/smoke-me/builtin+sub-gh304:
18:25 dalek parrot/smoke-me/builtin+sub-gh304: namespace Integer
18:25 dalek parrot/smoke-me/builtin+sub-gh304: sub foo
18:25 dalek parrot/smoke-me/builtin+sub-gh304:
18:25 dalek parrot/smoke-me/builtin+sub-gh304: Should error with
18:25 dalek parrot/smoke-me/builtin+sub-gh304:   Method 'foo' not found for invocant of class 'Integer'
18:25 dalek parrot/smoke-me/builtin+sub-gh304: as it happens with subs of new namespaces.
18:25 dalek parrot/smoke-me/builtin+sub-gh304:
18:25 dalek parrot/smoke-me/builtin+sub-gh304: This allows overriding of builtin methods, but it also makes it
18:25 dalek parrot/smoke-me/builtin+sub-gh304: impossible to write "class methods" that translate behaviors, since the
18:25 dalek parrot/smoke-me/builtin+sub-gh304: presence or absence of the :method attribute on the sub is ignored.
18:25 dalek parrot/smoke-me/builtin+sub-gh304:
18:25 travis-ci joined #parrot
18:25 travis-ci parrot/parrot#1710 (smoke-me/builtin+sub-gh304 - 37cb14f : Reini Urban): The build was canceled.
18:25 travis-ci Change view : https://github.com/parrot/​parrot/commit/37cb14f2c3d4
18:25 travis-ci Build details : https://travis-ci.org/parr​ot/parrot/builds/109931871
18:25 travis-ci left #parrot
18:25 travis-ci joined #parrot
18:25 travis-ci left #parrot
18:26 dalek parrot/smoke-me/builtin+sub-gh304: with user-defined namespaces.
18:26 dalek parrot/smoke-me/builtin+sub-gh304:
18:26 dalek parrot/smoke-me/builtin+sub-gh304:     P1=new Integer
18:26 dalek parrot/smoke-me/builtin+sub-gh304:     P1.foo()
18:26 dalek parrot/smoke-me/builtin+sub-gh304:
18:26 dalek parrot/smoke-me/builtin+sub-gh304:     namespace Integer
18:26 dalek parrot/smoke-me/builtin+sub-gh304:     sub foo
18:26 dalek parrot/smoke-me/builtin+sub-gh304:
18:26 dalek parrot/smoke-me/builtin+sub-gh304: Does now error with
18:26 dalek parrot/smoke-me/builtin+sub-gh304:       Method foo not found for invocant of class Integer
18:26 dalek parrot/smoke-me/builtin+sub-gh304: as it happens with subs of new namespaces.
18:26 dalek parrot/smoke-me/builtin+sub-gh304: You need to add a :method attribute.
18:26 dalek parrot/smoke-me/builtin+sub-gh304:
18:26 dalek parrot/smoke-me/builtin+sub-gh304: This allows to write user class methods that translate behaviors.
18:26 dalek parrot/smoke-me/builtin+sub-gh304: Fixes GH #304, prev. TT #1108
18:26 dalek parrot/smoke-me/builtin+sub-gh304: review: https://github.com/parrot/parrot/commit/12124f26e4
18:42 travis-ci joined #parrot
18:42 travis-ci parrot/parrot#1711 (smoke-me/builtin+sub-gh304 - 12124f2 : Reini Urban): The build passed.
18:42 travis-ci Change view : https://github.com/parrot/parrot/c​ompare/37cb14f2c3d4...12124f26e425
18:42 travis-ci Build details : https://travis-ci.org/parr​ot/parrot/builds/109933253
18:42 travis-ci left #parrot
19:03 dalek parrot/smoke-me/builtin+sub-gh304: e36956d | rurban++ | tools/build/namealias_c.pl:
19:03 dalek parrot/smoke-me/builtin+sub-gh304: make bootstrap-namealias, update for newer gperf
19:03 dalek parrot/smoke-me/builtin+sub-gh304:
19:03 dalek parrot/smoke-me/builtin+sub-gh304: we skip inline as we use it 2x in core_ops
19:03 dalek parrot/smoke-me/builtin+sub-gh304: review: https://github.com/parrot/parrot/commit/e36956d158
19:03 dalek parrot/smoke-me/builtin+sub-gh304: c42dceb | rurban++ | t/pmc/namespace-subs.t:
19:03 dalek parrot/smoke-me/builtin+sub-gh304: [test] sub dispatch with builtin namespace
19:03 dalek parrot/smoke-me/builtin+sub-gh304:
19:03 dalek parrot/smoke-me/builtin+sub-gh304: Subs in "built-in PMC" namespaces are treated as PMC methods even
19:03 dalek parrot/smoke-me/builtin+sub-gh304: without the :method attribute.
19:03 dalek parrot/smoke-me/builtin+sub-gh304:
19:03 dalek parrot/smoke-me/builtin+sub-gh304: P1=new Integer
19:03 dalek parrot/smoke-me/builtin+sub-gh304: P1.foo()
19:03 dalek parrot/smoke-me/builtin+sub-gh304:
19:03 dalek parrot/smoke-me/builtin+sub-gh304: namespace Integer
19:03 dalek parrot/smoke-me/builtin+sub-gh304: sub foo
19:03 dalek parrot/smoke-me/builtin+sub-gh304:
19:03 dalek parrot/smoke-me/builtin+sub-gh304: Should error with
19:03 dalek parrot/smoke-me/builtin+sub-gh304:   Method 'foo' not found for invocant of class 'Integer'
19:03 dalek parrot/smoke-me/builtin+sub-gh304: as it happens with subs of new namespaces.
19:03 dalek parrot/smoke-me/builtin+sub-gh304:
19:03 dalek parrot/smoke-me/builtin+sub-gh304: This allows overriding of builtin methods, but it also makes it
19:03 dalek parrot/smoke-me/builtin+sub-gh304: impossible to write "class methods" that translate behaviors, since the
19:03 dalek parrot/smoke-me/builtin+sub-gh304: presence or absence of the :method attribute on the sub is ignored.
19:03 dalek parrot/smoke-me/builtin+sub-gh304:
19:03 dalek parrot/smoke-me/builtin+sub-gh304: See GH #304, prev. TT #1108
19:03 dalek parrot/smoke-me/builtin+sub-gh304: review: https://github.com/parrot/parrot/commit/c42dceb8b0
19:03 dalek parrot/smoke-me/builtin+sub-gh304: 65882f6 | rurban++ | / (5 files):
19:03 dalek parrot/smoke-me/builtin+sub-gh304: [core] fix sub dispatch with builtin namespace
19:03 dalek parrot/smoke-me/builtin+sub-gh304:
19:03 dalek parrot/smoke-me/builtin+sub-gh304: Filter out pure-subs without a method attribute in
19:03 dalek parrot/smoke-me/builtin+sub-gh304: Parrot_find_method_direct(). This harmonizes behavior
19:03 dalek parrot/smoke-me/builtin+sub-gh304: with user-defined namespaces.
19:03 dalek parrot/smoke-me/builtin+sub-gh304:
19:03 dalek parrot/smoke-me/builtin+sub-gh304:     P1=new Integer
19:03 dalek parrot/smoke-me/builtin+sub-gh304:     P1.foo()
19:03 dalek parrot/smoke-me/builtin+sub-gh304:
19:03 dalek parrot/smoke-me/builtin+sub-gh304:     namespace Integer
19:03 dalek parrot/smoke-me/builtin+sub-gh304:     sub foo
19:03 dalek parrot/smoke-me/builtin+sub-gh304:
19:04 dalek parrot/smoke-me/builtin+sub-gh304: Does now error with
19:04 dalek parrot/smoke-me/builtin+sub-gh304:       Method foo not found for invocant of class Integer
19:04 dalek parrot/smoke-me/builtin+sub-gh304: as it happens with subs of new namespaces.
19:04 dalek parrot/smoke-me/builtin+sub-gh304: You need to add a :method attribute.
19:04 dalek parrot/smoke-me/builtin+sub-gh304:
19:04 dalek parrot/smoke-me/builtin+sub-gh304: This allows to write user class methods that translate behaviors.
19:04 dalek parrot/smoke-me/builtin+sub-gh304: Fixes GH #304, prev. TT #1108
19:04 dalek parrot/smoke-me/builtin+sub-gh304: review: https://github.com/parrot/parrot/commit/65882f64fe
19:04 dalek parrot/smoke-me/builtin+sub-gh304: bc456b1 | rurban++ | / (17 files):
19:04 dalek parrot/smoke-me/builtin+sub-gh304: bump VERSION to 8.2.0
19:04 dalek parrot/smoke-me/builtin+sub-gh304:
19:04 dalek parrot/smoke-me/builtin+sub-gh304: too many changes already, esp. the deprecations
19:04 dalek parrot/smoke-me/builtin+sub-gh304: review: https://github.com/parrot/parrot/commit/bc456b187e
19:19 travis-ci joined #parrot
19:19 travis-ci parrot/parrot#1712 (smoke-me/builtin+sub-gh304 - bc456b1 : Reini Urban): The build passed.
19:19 travis-ci Change view : https://github.com/parrot/parrot/c​ompare/12124f26e425...bc456b187e96
19:19 travis-ci Build details : https://travis-ci.org/parr​ot/parrot/builds/109942993
19:19 travis-ci left #parrot
20:36 dalek parrot: 98a6e9e | rurban++ | / (3 files):
20:36 dalek parrot: [test][doc] for dynpmc/file.copy to dir
20:36 dalek parrot:
20:36 dalek parrot: Document and test that the 2nd arg to file.copy
20:37 dalek parrot: fails with a directory name.
20:37 dalek parrot: Closes GH #229
20:37 dalek parrot: review: https://github.com/parrot/parrot/commit/98a6e9edd4
20:37 dalek parrot: 2979008 | rurban++ | / (8 files):
20:37 dalek parrot: [pmc] deprecate StringHandle auto-reopen and auto-read
20:37 dalek parrot:
20:37 dalek parrot: deprecate PIO_VF_AWAYS_READABLE. (yes, a typo)
20:37 dalek parrot: make StringHandle read/write mode, and auto-reopen strict.
20:37 dalek parrot: StringHandle needs to be consistent with the FileHandle API.
20:37 dalek parrot: I.e. reading from a handle open for writing needs to fail,
20:37 dalek parrot: ditto writing to a handle open for reading. (already tested
20:37 dalek parrot: and handled correctly)
20:37 dalek parrot:
20:37 dalek parrot: Add testcase for read/write mode errors.
20:37 dalek parrot:
20:37 dalek parrot: Add a seek(0,0) to various readall places on closed
20:37 dalek parrot: write-only handles, and change those handles to "rw".
20:37 dalek parrot:
20:37 dalek parrot: Closes GH #245.
20:37 dalek parrot: review: https://github.com/parrot/parrot/commit/2979008692
20:37 dalek parrot: ebe5cd4 | rurban++ | frontend/parrot2/prt0.pir:
20:37 dalek parrot: make bootstrap-prt0 with Winxed 1.10
20:37 dalek parrot: review: https://github.com/parrot/parrot/commit/ebe5cd4dd6
20:37 dalek parrot: e36956d | rurban++ | tools/build/namealias_c.pl:
20:37 dalek parrot: make bootstrap-namealias, update for newer gperf
20:37 dalek parrot:
20:37 dalek parrot: we skip inline as we use it 2x in core_ops
20:37 dalek parrot: review: https://github.com/parrot/parrot/commit/e36956d158
20:37 dalek parrot: c42dceb | rurban++ | t/pmc/namespace-subs.t:
20:37 dalek parrot: [test] sub dispatch with builtin namespace
20:37 dalek parrot:
20:37 dalek parrot: Subs in "built-in PMC" namespaces are treated as PMC methods even
20:37 dalek parrot: without the :method attribute.
20:37 dalek parrot:
20:37 dalek parrot: P1=new Integer
20:37 dalek parrot: P1.foo()
20:37 dalek parrot:
20:37 dalek parrot: namespace Integer
20:37 dalek parrot: sub foo
20:37 dalek parrot:
20:37 dalek parrot: Should error with
20:37 dalek parrot:   Method 'foo' not found for invocant of class 'Integer'
20:37 dalek parrot: as it happens with subs of new namespaces.
20:37 dalek parrot:
20:37 dalek parrot: This allows overriding of builtin methods, but it also makes it
20:37 dalek parrot: impossible to write "class methods" that translate behaviors, since the
20:37 dalek parrot: presence or absence of the :method attribute on the sub is ignored.
20:37 dalek parrot:
20:37 dalek parrot: See GH #304, prev. TT #1108
20:37 dalek parrot: review: https://github.com/parrot/parrot/commit/c42dceb8b0
20:37 dalek parrot: 65882f6 | rurban++ | / (5 files):
20:37 dalek parrot: [core] fix sub dispatch with builtin namespace
20:37 dalek parrot:
20:37 dalek parrot: Filter out pure-subs without a method attribute in
20:37 dalek parrot: Parrot_find_method_direct(). This harmonizes behavior
20:37 dalek parrot: with user-defined namespaces.
20:37 dalek parrot:
20:37 dalek parrot:     P1=new Integer
20:37 dalek parrot:     P1.foo()
20:37 dalek parrot:
20:37 dalek parrot:     namespace Integer
20:38 dalek parrot:     sub foo
20:38 dalek parrot:
20:38 dalek parrot: Does now error with
20:38 dalek parrot:       Method foo not found for invocant of class Integer
20:38 dalek parrot: as it happens with subs of new namespaces.
20:38 dalek parrot: You need to add a :method attribute.
20:38 dalek parrot:
20:38 dalek parrot: This allows to write user class methods that translate behaviors.
20:38 dalek parrot: Fixes GH #304, prev. TT #1108
20:39 dalek joined #parrot
20:53 travis-ci joined #parrot
20:53 travis-ci parrot/parrot#1713 (master - bc456b1 : Reini Urban): The build passed.
20:53 travis-ci Change view : https://github.com/parrot/parrot/c​ompare/ae20fa2cb662...bc456b187e96
20:53 travis-ci Build details : https://travis-ci.org/parr​ot/parrot/builds/109965466
20:53 travis-ci left #parrot
21:20 stryx` joined #parrot

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

Parrot | source cross referenced