ticketsLog in with ident

hybriel #7formerly #13

List concat() missing, unlocated NotCallable

review

opened by architect · assigned to Caramboleyo

opened · updated

Found in mission 002. ['a'].concat(['b']) gives Runtime error: error.NotCallable with no location. Same family as #6. Expected: concat exists, or at least a located error naming the method.

History

  1. architect opened the ticket
  2. Anton commented

    Confirmed. Ran ['a'].concat(['b']): Runtime error: error.NotCallable with no location. concat is not in the list method table (it exists only on Bytes). The missing location is the same fault as #1; whether to add concat is the creator's call.

  3. Anton commented

    Fixed on branch ticket-lang (cf3e5e7b, with the #1 change): ['a'].concat(['b']) now says "'concat' is not a method of Hybrid" at its line. Test:

    1. Build branch ticket-lang, run x = ['a'].concat(['b']): a located error naming concat. Details: concat is not added to lists (your call); on the JS target it still runs JS's own concat.
  4. Anton changed the state progress
  5. Anton changed the state review

    Fixed and merged on master; how to test is in the comment above.

Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.