No autocomplete on frozen tables

using the new type solver

type AudioPlayerProperties = {
	Asset:number?,
	AutoLoad:boolean?,
	AutoPlay:boolean?,
	IsPlaying:boolean?,
	Looping:boolean?,
	PlaybackSpeed:number?,
	TimePosition:number?,
	Volume:number?
}

local AudioPlayer:AudioPlayerProperties = table.freeze{
	Asset = 123,
	AutoLoad = false,
	AutoPlay = false,
	IsPlaying = false,
	Looping = false,
	PlaybackSpeed = 1,
	TimePosition = 0,
	Volume = 1
}

return AudioPlayer

no autocompletion when writing out the properties, works normally if you remove the table.freeze

Expected behavior

autocomplete should work properly

1 Like

Hello! We’re aware that autocomplete in this specific situation is not working as expected. It is something that was natural in the old solver but not as trivial to replicate in the new solver. We hope to fix this in the future, so we will keep you in the loop as a fix is developed and rolled out.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.