"Cannot evaluate parameter override" error is occured when overriding parameter in a class

In reply to watashi:

I had a closer look to your code and have a question. What is the need of your localparam TYPE_NAME?