fluent-lua icon indicating copy to clipboard operation
fluent-lua copied to clipboard

Undefined attach AttributeAccessor to MessageReference?

Open Omikhleia opened this issue 1 year ago • 0 comments

Greetings,

Version 0.2.0-0 installed via luarocks --

According to the Fluent playground and my understanding of the specs, this should work:

image

local FluentBundle = require("fluent")
local bundle = FluentBundle()

bundle:add_messages([[
month  = mois
  .aug = août
  
test = { month.aug }

]])

print(bundle:format("test"))

It errors with ... fluent/messages.lua:509: Undefined attach AttributeAccessor to MessageReference

Omikhleia avatar May 10 '24 02:05 Omikhleia