Go.property(name, value) function doesn't accept a hash stored in a variable in the value parameter

Description
I was trying to store some hash values in variables at the top of my script to reuse further down in the script. I was going to set one of these as the default in the go.property function, but this issue came up. I ended up changing my code, so I don’t actually do this any more, but I thought I should make you aware of it.

Steps to reproduce

  1. Create a variable containing a hashed value e.g.
    local hashedVal = hash("value")
  2. Store that value in a property using the go.property(name, value) function. e.g.
    go.property("aHashedValue", hashedVal)

Expected result
Code functions as expected

Actual Result
The following error is thrown:
Only these types are available: number, hash, msg.url, vmath.vector3, vmath.vector4, vmath.quat

Other notes
Using the function while creating the hash function in the declaration works as expected. e.g.
go.property("aHashedValue", hash("value"))

Defold version: 1.2.82
OS: Windows 10

This is the expected behaviour. go.property() will not evaluate anything when you declare the property. Your example seems simple enough and to some extent you might expect the editor to be intelligent enough to handle such a simple example, but where to draw the line? What would go.property("aHashedValue", math.random(1, 100) > 50 and hash("foo") or hash("bar")) evaluate to and what would be shown in the Properties window in that case?