DanielGavin / ols

Language server for Odin
MIT License
417 stars 62 forks source link

Structs do not show or complete members if the type is of the type Maybe(T) and in another namespace #273

Closed dmitsuki closed 8 months ago

dmitsuki commented 9 months ago

Example


//Put this in a  file with package test
TestStruct :: struct 
{
    CoolValue: Maybe(int),
}

//Put this in package main
main :: proc()
{
    test0 := test.TestStruct {}; 
    value, ok = test0.CoolValue.? <- ols will not show this member as you type
}
DanielGavin commented 8 months ago

Should be fixed now.