[perl #126959] unhelpful error - Cannot find method 'has_compile_time_value'

2015-12-22 Thread Tobias Leich via RT
Patches:
  https://github.com/rakudo/rakudo/commit/2e4238fbe4
  https://github.com/rakudo/rakudo/commit/0d5372fe43

Tests:
  https://github.com/perl6/roast/commit/94ee230558

Closing ticket as resolved.


[perl #126959] unhelpful error - Cannot find method 'has_compile_time_value'

2015-12-21 Thread via RT
# New Ticket Created by  Vytautas D 
# Please include the string:  [perl #126959]
# in the subject line of all future correspondence about this issue. 
# https://rt.perl.org/Ticket/Display.html?id=126959 >


Imagine such a typo in a script:

use v6;

say "linenoise";
say 1.:all; # <-- typo
say "linenoise";

This throws an error, which is unhelpful, because it doesn't tell
which line the typo happened to be:
===SORRY!===
Cannot find method 'has_compile_time_value'

-Vytas