function Store.dispatch(B,i)if typeof(i)=="\116\097\098\108\101"then if i.type==nil then error("\097\099\116\105\111\110 \100\111\101\115 \110\111\116 \104\097\118\101 \097 \116\121\112\101 \102\105\101\108\100",2)end B._state=B._reducer(B._state,i)B._mutatedSinceFlush=true else error(("\097\099\116\105\111\110\115 \111\102 \116\121\112\101 \037\113 \097\114\101 \110\111\116 \112\101\114\109\105\116\116\101\100"):format(typeof(i)),2)end end

function Store:dispatch(action)
	if typeof(action) == "table" then
		if action.type == nil then
			error("action does not have a type field", 2)
		end

		self._state = self._reducer(self._state, action)
		self._mutatedSinceFlush = true
	else
		error(("actions of type %q are not permitted"):format(typeof(action)), 2)
	end
end
