AdeptLanguage / Adept

The Adept Programming Language
GNU General Public License v3.0
119 stars 9 forks source link

[bug] Type aliases don't work properly with 'using namespace' #57

Closed IsaacShelton closed 3 years ago

IsaacShelton commented 3 years ago

main.adept

import basics
import "other.adept"

func main {
    x custom\integer = doSomething()
}

other.adept

using namespace custom

namespace custom {
    alias integer = int
}

func doSomething() integer = 10
IsaacShelton commented 3 years ago

Removed using namespace, see #58 for explanation

This bug is out of date since the recent removal of using namespace