Check constructor is defined when constructor set null
Merge pull request #3 from yosuke-furukawa/fix/no_constructor

Check constructor is defined when constructor set null