diff options
Diffstat (limited to 'src/Asset.hs')
-rw-r--r-- | src/Asset.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Asset.hs b/src/Asset.hs index 550438b..72ffd54 100644 --- a/src/Asset.hs +++ b/src/Asset.hs @@ -5,6 +5,7 @@ module Asset ( import Data.Text (Text) import Data.Text qualified as T +import Data.Typeable import Script.Expr.Class @@ -28,3 +29,5 @@ instance ExprType Asset where instance ExprType AssetPath where textExprType _ = "filepath" textExprValue = ("filepath:" <>) . textAssetPath + + exprExpansionConvTo = cast textAssetPath |