Returned function highlighting

Hello everyone,

 

I think it's a bug. I created curried function in module and exported with `module.exports = curriedFunction;`. Then I imported it and called with the first param, but returned function variable isn't highlighted as function.

 

 

 

But when I created curried function in place, highlighting is ok:

 

But highlighting is broken again when I'm declaring function variable:

 

What I'm doing wrong? Thank you:)

2

请先登录再写评论。