Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P57812
fabtypes
Active
Public
Actions
Authored by
Joe
on Feb 23 2024, 10:23 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F42060843: fabtypes
Feb 23 2024, 10:23 AM
2024-02-23 10:23:32 (UTC+0)
Subscribers
None
type Test = Struct[{ 'a' => Struct[{'b' => String}]}]
class myTest(Test $a) {
notice($a['a']['b'])
}
class { 'myTest':
a => {'a' => {'b' => 'Hello'}}
}
Event Timeline
Joe
created this paste.
Feb 23 2024, 10:23 AM
2024-02-23 10:23:32 (UTC+0)
Log In to Comment