a fix in Inline method; it should look for inline attribute only on procedures and implementations