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

class already exist #679

Closed YairBybabayov closed 2 months ago

YairBybabayov commented 3 months ago

Describe the bug A clear and concise description of what the bug is. when Im including the source file twice and compile between the 2 i get the error class already exist To Reproduce Write a snippet code

Expected behavior A clear and concise description of what you expected to happen. compilation error Please complete the following information:

Additional context Add any other context about the problem here.

YairBybabayov commented 3 months ago

just open a project file from the examples

compile it more then once until you can include it again

include it and compile and the problem accrue

arakov commented 2 months ago

Fixed in ELENA 6.3.1