luvit / lit

Toolkit for developing, sharing, and running luvit/lua programs and libraries.
http://lit.luvit.io/
Apache License 2.0
245 stars 58 forks source link

weblit app prints out bindings twice #277

Open PatrickDahlin opened 4 years ago

PatrickDahlin commented 4 years ago

Removed extra printout of binding since it unnecessarily prints bindings twice

creationix commented 3 years ago

If I remember, these aren't always the same thing and so the code is being lazy and always printing both forms in case they don't match. We could probably store all the results in a set (store the strings as table keys with dummy values) and filter out duplicates before printing.