Fix row_polymorphism.topscript

Add a definition for the `shape` type.