ELENA-LANG / elena-lang

ELENA is a general-purpose language with late binding. It is multi-paradigm, combining features of functional and object-oriented programming. Rich set of tools are provided to deal with message dispatching : multi-methods, message qualifying, generic message handlers, run-time interfaces
https://elena-lang.github.io/
MIT License
236 stars 26 forks source link

Multimethod with unresolved message - The code is never finished #544

Closed arakov closed 5 months ago

arakov commented 3 years ago

Describe the bug The code is never finished

To Reproduce

  import system'text;

  public program()
  {
      int n := 3;

      byte tmp[16];
      char ch_tmp[16];
      int  len := 16;

      stringConvertor.convert(n, tmp, ref len);

      UTF8Encoder.convert(0, ref len, tmp, ch_tmp, ref len);
  }

Expected behavior MethodNotFoundException should be raised

arakov commented 5 months ago

Cannot be reproduced