bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Assertion failure after indexing ⍺ or ⍵


From: Kacper Gutowski
Subject: [Bug-apl] Assertion failure after indexing ⍺ or ⍵
Date: Sat, 16 Aug 2014 15:22:26 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

      {1=⍵} ,1
1
      {1=⍵[1]} ,1
1
      {⍵=1} ,1
1
      {⍵[1]=1} ,1

==============================================================================
Assertion failed: Avec::is_quad(idname[0])
in Function:      get_nc
in file:          NamedObject.cc:42

Call stack:

----------------------------------------
-- Stack trace at NamedObject.cc:42
----------------------------------------
0x7f8f678b2b45 __libc_start_main
0x43b725  main
0x556c75   Workspace::immediate_execution(bool)
0x480db5    Command::process_line()
0x47a735     Command::do_APL_expression(UCS_string&)
0x48b3f5      Executable::execute_body() const
0x5076d0       StateIndicator::run()
0x4b71ac        Prefix::reduce_statements()
0x4b676d         Prefix::reduce_MISC_F_B_()
0x4b640b          Prefix::value_expected()
0x4a56bd           NamedObject::get_nc() const
0x449b30            do_Assert(char const*, char const*, char const*, int)
========================================

SI stack:

Depth:    1
Exec:     0x2198ea8
Safe ex:  no
Pmode:    ∇ λ1[1]
PC:       5 ⍵
Stat:     λ←⍵[1]=1
err_code: 0x0
thrown:   at StateIndicator.cc:41
e_msg_1:  'No Error'
e_msg_2:  ''
e_msg_3:  ''

Depth:    0
Exec:     0x2197eb0
Safe ex:  no
Pmode:    ◊  {⍵[1]=1} ,1
PC:       4 RETURN_STATS
Stat:     {⍵[1]=1} ,1
err_code: 0x0
thrown:   at StateIndicator.cc:41
e_msg_1:  'No Error'
e_msg_2:  ''
e_msg_3:  ''


==============================================================================


Same thing happens for many other functions, not only for equals.


-k



reply via email to

[Prev in Thread] Current Thread [Next in Thread]