ark-lang / ark

A compiled systems programming language written in Go using the LLVM framework
https://ark-lang.github.io/
MIT License
682 stars 47 forks source link

Omitting generic parameters on generic functions breaks #733

Closed felixangell closed 8 years ago

felixangell commented 8 years ago

Giving me an infinite loop

felixangell commented 8 years ago

Linked to #724

MovingtoMars commented 8 years ago

Code example?

felixangell commented 8 years ago

If I were to call a generic function, for instance alloc in stdlib and not specify the type I get an infinite loop:

foo := mem;:alloc();
MovingtoMars commented 8 years ago

Oh you mean generic arguments.

felixangell commented 8 years ago

Oh yep thats what I meant.