Ticket #98 (closed defect: fixed)

Opened 2 years ago

Last modified 1 year ago

Namespaced type expressions are evaluated too soon?

Reported by: lth Assigned to: anonymous
Type: defect Priority: major
Milestone: M1 Component: RefImpl
Version: 4 Keywords:
Cc: graydon, jeffdyer

Description

Consider "bug.es":

namespace ns1;
{
    function f(x) {
        return (x is ns1::T)
    }
}

In the repl this should load, but it does not:

>> intrinsic::load("bug.es")
**ERROR** EvalError: uncaught exception:
  error while loading (near builtins/string_primitive.es:88.9-88.9)

After the failure the repl is pretty much broken also:

>> ns1
**ERROR** VerifyError:
  unable to resolve fixture for multiname:
  {multiname: [ns user 'ns1']::T } (near bug.es:4.18-4.17)
>> foo
**ERROR** VerifyError:
  unable to resolve fixture for multiname:
  {multiname: [ns user 'ns1']::T } (near bug.es:4.18-4.17)

Attachments

Change History

Changed 1 year ago by graydon

  • status changed from new to closed
  • resolution set to fixed

fixed on trunk. not sure when but it's not triggering any of these errors anymore.

Note: See TracTickets for help on using tickets.