[perl6/specs] 85f9fd: [].end is supposed to return -1, not failure

2010-11-05 Thread noreply
Branch: refs/heads/master
Home:   https://github.com/perl6/specs

Commit: 85f9fdb8f696e4f77b3ae892ffc9fa4482b4c4e1

https://github.com/perl6/specs/commit/85f9fdb8f696e4f77b3ae892ffc9fa4482b4c4e1
Author: TimToady 
Date:   2010-11-05 (Fri, 05 Nov 2010)

Changed paths:
  M S32-setting-library/Containers.pod

Log Message:
---
[].end is supposed to return -1, not failure

The .end method is usually used as the end of a range operator,
which should represent an empty interval when the array is empty.




[perl6/specs] 5f6096: [S12] default BUILD should not init private attrs

2010-11-05 Thread noreply
Branch: refs/heads/master
Home:   https://github.com/perl6/specs

Commit: 5f6096f431d57e66b3857702327cdfa649c7aacb

https://github.com/perl6/specs/commit/5f6096f431d57e66b3857702327cdfa649c7aacb
Author: TimToady 
Date:   2010-11-05 (Fri, 05 Nov 2010)

Changed paths:
  M S12-objects.pod

Log Message:
---
[S12] default BUILD should not init private attrs

You have to write an explicit BUILD submethod to present
private attribute names as part of the initialziation API.
The default BUILD should not do this.