#table type not being accepted as valid argument for pairs

1 messages · Page 1 of 1 (latest)

tough ermine
#

really weird and i using the new luau type solver in beta features

bleak stump
#

its cuz the type solver is completly ass :)

tough ermine
#

with new type s olver i only h ave to cast every sometimes instead of everything

bleak stump
#

yeah still it's pretty ass

tough ermine
#

true but i need that singleton union type

bleak stump
#

wym

tough ermine
# bleak stump wym

keyof gets all of the keys of a table and i use that to make a union with all of the keys of a table and make that into a type for arguments

bleak stump
#

ohh

tough ermine
bleak stump
#

yeah idk I gave it up on type solver, I just give the arguments and returns of functions types that I know how to use them+ im using rojo which is also a bit diffrent of the default roblox text editor atleast in my experience

bleak stump
tough ermine
violet inletBOT
#

studio** You are now Level 1! **studio

bleak stump
tough ermine
#

i think i am just gonna create a bug post on devforum

bleak stump
#

yeah good luck

#

I gotta reconsider my error handling before doing types..

tough ermine
bleak stump
#

im trying to be professionalThumbs

tough ermine
#

see it works now!

bleak stump
#

nice nice

sharp citrus