Skip to content

Commit

Permalink
Object literals in README (#165)
Browse files Browse the repository at this point in the history
They're not implicit since they're explicitly instantiated via
a literal.
  • Loading branch information
snan authored Mar 19, 2024
1 parent 8279fa0 commit a291e14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/docs/doc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Yue (月) is the name of moon in Chinese and it's pronounced as [jyɛ].
-- import syntax
import "yue" as :p, :to_lua
-- implicit objects
-- object literals
inventory =
equipment:
* "sword"
Expand Down Expand Up @@ -50,7 +50,7 @@ export 🌛 = "月之脚本"
-- import syntax
import "yue" as :p, :to_lua

-- implicit objects
-- object literals
inventory =
equipment:
* "sword"
Expand Down

0 comments on commit a291e14

Please sign in to comment.