Permalink
Switch branches/tags
Commits on Jun 22, 2018
  1. Merge branch 'master' into release/2018.06

    AlexDaniel committed Jun 22, 2018
  2. Bonus Changelog tweaks

    AlexDaniel committed Jun 22, 2018
    More backticks and less unintentional markdown.
  3. Changelog tweaks

    AlexDaniel committed Jun 22, 2018
Commits on Jun 21, 2018
  1. Use HOME path for CURLI prefix

    hoelzro authored and AlexDaniel committed Jun 21, 2018
    ...rather than a "inst#$HOME/.perl6" spec
  2. Use HOME path for CURLI prefix

    hoelzro committed Jun 21, 2018
    ...rather than a "inst#$HOME/.perl6" spec
Commits on Jun 20, 2018
  1. Make `.?` spesh plugin bug compatible with `.`

    jnthn committed Jun 20, 2018
    The spesh plugin for `.?` fixed a long-standing issue with method
    augmented into parent classes not being visible to subclasses. While
    that's in theory good, in practice there was code in the wild that
    used `.?` in a filtering step and then `.` to call, and inconsistent
    behavior between the two (`.?` being fixed and `.` not yet) caused
    breakage. This is discussed in issue #1923. Therefore, re-introduce
    the bug to `.?`, until we can fix `.` too.
Commits on Jun 19, 2018
  1. Merge branch 'release/2018.06'

    AlexDaniel committed Jun 19, 2018
  2. Merge pull request #1934 from rakudo/home-precomp-with-fix

    AlexDaniel committed Jun 19, 2018
    Prepend inst# to home when setting up repositories
Commits on Jun 18, 2018
  1. Prepend inst# to home when setting up repositories

    hoelzro committed Jun 17, 2018
    The keys to the $repos hash are in the form of inst#/path/to/repo (among
    others), but $home was just the path before this change, causing all
    nqp::atkey($repos, $home) calls to come back as null
  2. Merge branch 'post-release-2018.06'

    AlexDaniel committed Jun 18, 2018
  3. Merge branch 'post-release-2018.06'

    AlexDaniel committed Jun 18, 2018
Commits on Jun 17, 2018
  1. Merge pull request #1935 from rakudo/car-grant-constants

    zoffixznet committed Jun 17, 2018
    Implement typecheck and auto-coercers on constants
  2. [CaR Grant] Implement basic typecheck and coercers on constants

    zoffixznet committed Jun 17, 2018
    - Implement typechecking on &- and $- sigilled, sigilles, and
        backslash-sigilles constants
    - Throw X::ParametricConstant on attempts to specify parametarized
        @-, %-, and &- constants (using `my Int constant @foo` and
        similar syntax only; `constant @foo = Array[Int].new` is still
        OK to use)
    - [6.d.PREVIEW] implement coercion to .Map for %-sigilled constants
        if the given value is not Associative
    - Do not call .cache for @-sigilled constant if value is already
        a Positional
    
    Still needs some polishing around the edges, such as throwing
    a better error if a coercer is used as a type.
  3. Implement $*W.lang-ver-before method

    zoffixznet committed Jun 17, 2018
    Tells you whether the current language version is before
    the given version letter. For use where language-specific behaviour
    needs to be implemented.
    
        $*W.lang-ver-before('d')
            ?? nqp::say('Bruh, your lang is too old')
            !! nqp::say('6.d or above. You get a new feature!')
  4. Merge pull request #1933 from jstuder-gh/signally_role_zero_logic

    AlexDaniel committed Jun 17, 2018
    Issue 1891 Continued: Add special case for Inf in Signally CALL-ME
  5. [CaR Grant] Implement X::ParametricConstant exception

    zoffixznet committed Jun 17, 2018
    Thrown when user attempts to parametarize %/@/& constants
    using `my Bar constant @foo` syntax. As discussed[^1] in the Work
    Proposal, allowing this syntax creates a lot of varying
    behaviour such as `constant @foo .= new: 1, 2, 3` creating
    a `List`, yet `my Int constant @foo .= new: 1,2, 3` would have
    to create an `Array` (Lists can't be parametarized).
    
    The parametarization for &-sigilled constants make more sense,
    but will also be blocked, for consistency.
    
    [1] https://github.com/rakudo/rakudo/blob/master/docs/archive/constants-type-constraints-proposal-2018-02-10.md#behaviour-with-----and--sigiled-constants
  6. Rm Inf candidate and alter Int() candidate logic

    jstuder-gh committed Jun 17, 2018
    The Inf was blowing up due to returning Failure on attempted coercion
    and then using it in a comparison.
    
    AlexDaniel++ for the explanation and for suggestion on how to alter the
    method. See comments
    [here](#1933 (comment))
  7. Bump NQP/Moar to get native int lexpad fixes

    samcv committed Jun 17, 2018
    Changes: 2018.05-83-gc8519b79d..2018.05-86-gec508f954
    ec508f954 Add documentation on atkey_u newly added op
    0d7af14e9 Fix Unhandled lexical type error w/ native int's and Rakudo REPL
    2ac63b49f Bump MoarVM to get native int lexpad fixes
  8. Make safely_stringify routine safer

    zoffixznet committed Jun 17, 2018
    Right now it doesn't check whether the Int/Str/List objects
    are actually instances before trying to unbox them or peek at their
    attributes, which causes explosions if the exception being
    stringified has one of those types objects as a value.
    
    Fix by printing '(Int)'/'(Str)'/'(List)' if the things are
    type objects and aren't instances.
  9. Add special case for Inf in Signal CALL-ME

    jstuder-gh committed Jun 17, 2018
  10. Merge pull request #1928 from jstuder-gh/signally_role_zero_logic

    AlexDaniel committed Jun 17, 2018
    Issue 1891: Add role to Signal for custom zero logic
  11. Allow types coercable to Int in Signally role

    jstuder-gh committed Jun 17, 2018
    AlexDaniel++ for pointing this out
  12. Add role to Signal for custom zero logic

    jstuder-gh committed Jun 15, 2018
    We want to be able to take advantage of the powerful functionality of
    Enumerations, but also implement custom logic in the class. Enter
    roles.
    
    Add a role to the Signal class (created via enum keyword earlier in the
    unit) to implement custom handling of zero values (to the type object
    acting as a sub). jnthn++ for role suggestion.
  13. [CaR Grant] Make Map.list return a List instead of Seq

    zoffixznet committed Jun 17, 2018
    Partially fixes R#1344 #1344
    
    Since (per discussion on the Issue) a Seq is not a "list", the
    .list/.cache methods need to return a Positional. This commit is
    required for the grant to have proper coersion+typecheck
    on `@`-sigilled constants. The rest of the Issue still requires
    filling in the gaps in positional slurpy semantics
    ( R#1355 #1355 )
Commits on Jun 16, 2018
  1. Fix typo

    zoffixznet committed Jun 16, 2018
  2. Revert "Fix arg type in X::Str::Sprintf::Directives::Count"

    AlexDaniel committed Jun 16, 2018
    This reverts commit 4b28f2c.
    
    See R#1922 #1922