A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/JohnnyMorganz/StyLua/issues/747 below:

could not format with verify or bad without · Issue #747 · JohnnyMorganz/StyLua · GitHub

Skip to content Navigation Menu

Saved searches Use saved searches to filter your results more quickly

Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert Additional navigation options

Bug: could not format with verify or bad without #747

Description

stylua@v0.18.1

from

local obj = {}

obj.func = function()
  return obj
end

obj. --
func(). --
func(). --
func()

after stylua --verify -

error: could not format file test.lua: INTERNAL ERROR: Output AST generated a syntax error. Please report this at https://github.com/johnnymorganz/stylua/issues
error occurred while creating ast: unexpected token ``. (starting from line 8, character 1 and ending on line 8, character 1)
additional information: expected nam

after stylua -

local obj = {}

obj.func = function()
	return obj
end

obj. --func(). --func(). --func()

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4