Opened 2 years ago

Last modified 2 years ago

#23684 needs_work enhancement

Improve error message with some called expressions

Reported by: rws Owned by:
Priority: major Milestone: sage-8.1
Component: symbolics Keywords:
Cc: Merged in:
Authors: Ralf Stephan Reviewers:
Report Upstream: N/A Work issues:
Branch: u/rws/improve_error_message_with_some_called_expressions (Commits) Commit: bf1a1124fdef640072e6f19c37fc1aa9946ea136
Dependencies: Stopgaps:

Description

This is not helpful at all:

    sage: sqrt(2)(x+1)
...
ValueError: the number of arguments must be less than or equal to 0

Change History (3)

comment:1 Changed 2 years ago by rws

  • Branch set to u/rws/improve_error_message_with_some_called_expressions

comment:2 Changed 2 years ago by rws

  • Authors set to Ralf Stephan
  • Commit set to bf1a1124fdef640072e6f19c37fc1aa9946ea136
  • Status changed from new to needs_review

New commits:

bf1a11223684: Improve error message with some called expressions

comment:3 Changed 2 years ago by jdemeyer

  • Status changed from needs_review to needs_work

I think "failed attempt to make a function call on an expression without variables" is not very clear either.

Note: See TracTickets for help on using tickets.