Syntax error: token is #

I got this resolved, but posting the solution if it would help someone later. The issue was because compiler was not able to see

basic_reset_seq

because it was included in some other package which was not imported. But the error message seems so vague and misleading when it complains about # character. Keeps you thinking about the nuances of parameterized class when the problem is something different.