There are many Sri Lankan “sweets” that really should be called Sri Lankan savouries. I can think of many that are sweet and spicy with a heavy emphasis on the spice. Cookies, sweet, fried batters and cakes are all balanced...
It's just like leaves drifted right down from the from the trees and settled onto your tart! If dead leaves tasted like crisped chard and oyster mushrooms.
You'll spend roughly five minutes on the filling, five on making the dough and five on assembly... eat (some!) ice cream while you wait for this to bake.