So I have this variable under a type:

And I have this proc (both under the same type):
var/mob/mechanism/linkable/linked = link

Problem description:

For whatever reason, I can't use the commented-out version, but I can typecast it and it works fine. I suppose this isn't really a problem, just more of a question as to what this means, for future reference.

Is it compiler error, runtime error, or just code doesn't do anything?
In response to Zaoshi
It's a compiler error.
In response to DivineTraveller
Being able to see the error helps too :)
Maybe : operator works, instead of . ?
In response to Zaoshi
The title is the error:
code\ link: output method has no effect here

(line 42 points to the un-cast reference)
No, the colon does not work, and I'd rather do the typecasting than use the colon anyway.
In response to DivineTraveller
Appears there is built-in proc link(). I guess it thinks you call proc, not access object.
In response to Zaoshi
Turns out that was the issue. To think, I had contemplated calling my variable 'linked' earlier anyway. Thanks!
In response to DivineTraveller
You can use