Open lukewilliamboswell opened 1 day ago
This also throws the same error...
$ roc check src/Models/Product.roc
module [Product, sampleData]
Product : {
id : I64,
name : Str,
category : Str,
technology : Str,
description : Str,
price : Str,
discount : Str,
}
sampleData : List Product
sampleData = []
But if I cd
into the same folder and then roc check
it is fine.
11:28:39 ~/Documents/GitHub/roc-htmx-tailwindcss-demo main $ cd src/Models/
11:30:16 ~/Documents/GitHub/roc-htmx-tailwindcss-demo/src/Models main $ roc check Product.roc
0 errors and 0 warnings found in 27 ms
I was trying to make a small repro for another issue when I stumbled across this.