mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 14:01:37 +00:00
Simplify child matching by relying on ordering, makes tests fail, needs snapshot changes to BTreeMap
This commit is contained in:
parent
7ca3670338
commit
007ab077eb
4 changed files with 237 additions and 253 deletions
|
|
@ -1,78 +1,6 @@
|
|||
{
|
||||
"instances": {
|
||||
"833f7f8b-7ec3-4f6a-9476-63af9612510a": {
|
||||
"Name": "foo",
|
||||
"ClassName": "StringValue",
|
||||
"Properties": {
|
||||
"Value": {
|
||||
"Type": "String",
|
||||
"Value": "Hello world, from a/foo.txt"
|
||||
}
|
||||
},
|
||||
"Id": "833f7f8b-7ec3-4f6a-9476-63af9612510a",
|
||||
"Children": [],
|
||||
"Parent": "ea14bb8b-cc04-4b0c-9aae-02f1447cbda7"
|
||||
},
|
||||
"381278fa-4eb9-4110-b64c-3bbdb76a0bd5": {
|
||||
"Name": "something",
|
||||
"ClassName": "ModuleScript",
|
||||
"Properties": {
|
||||
"Source": {
|
||||
"Type": "String",
|
||||
"Value": "-- b/something.lua"
|
||||
}
|
||||
},
|
||||
"Id": "381278fa-4eb9-4110-b64c-3bbdb76a0bd5",
|
||||
"Children": [],
|
||||
"Parent": "74b23f01-582f-4c6b-9f6c-e5c17c41c466"
|
||||
},
|
||||
"74b23f01-582f-4c6b-9f6c-e5c17c41c466": {
|
||||
"Name": "Bar",
|
||||
"ClassName": "Folder",
|
||||
"Properties": {},
|
||||
"Id": "74b23f01-582f-4c6b-9f6c-e5c17c41c466",
|
||||
"Children": [
|
||||
"381278fa-4eb9-4110-b64c-3bbdb76a0bd5",
|
||||
"ce5ccafe-1165-4a3a-afb2-8da27cc123e2"
|
||||
],
|
||||
"Parent": "10f2a2c4-b3e4-478d-84d5-a74a71ee8235"
|
||||
},
|
||||
"caf1ebc4-af44-4cad-935d-b44a8ca57d32": {
|
||||
"Name": "multi_partition_game",
|
||||
"ClassName": "DataModel",
|
||||
"Properties": {},
|
||||
"Id": "caf1ebc4-af44-4cad-935d-b44a8ca57d32",
|
||||
"Children": [
|
||||
"10f2a2c4-b3e4-478d-84d5-a74a71ee8235",
|
||||
"b411bf23-4662-4799-a8eb-6afc1bd8888e"
|
||||
],
|
||||
"Parent": null
|
||||
},
|
||||
"10f2a2c4-b3e4-478d-84d5-a74a71ee8235": {
|
||||
"Name": "ReplicatedStorage",
|
||||
"ClassName": "ReplicatedStorage",
|
||||
"Properties": {},
|
||||
"Id": "10f2a2c4-b3e4-478d-84d5-a74a71ee8235",
|
||||
"Children": [
|
||||
"74b23f01-582f-4c6b-9f6c-e5c17c41c466",
|
||||
"ea14bb8b-cc04-4b0c-9aae-02f1447cbda7"
|
||||
],
|
||||
"Parent": "caf1ebc4-af44-4cad-935d-b44a8ca57d32"
|
||||
},
|
||||
"0de0ab3d-e74a-473b-808a-076febe9d808": {
|
||||
"Name": "main",
|
||||
"ClassName": "ModuleScript",
|
||||
"Properties": {
|
||||
"Source": {
|
||||
"Type": "String",
|
||||
"Value": "-- hello, from a/main.lua"
|
||||
}
|
||||
},
|
||||
"Id": "0de0ab3d-e74a-473b-808a-076febe9d808",
|
||||
"Children": [],
|
||||
"Parent": "ea14bb8b-cc04-4b0c-9aae-02f1447cbda7"
|
||||
},
|
||||
"b411bf23-4662-4799-a8eb-6afc1bd8888e": {
|
||||
"daa80612-5a17-4d07-9e4e-baad4d568676": {
|
||||
"Name": "HttpService",
|
||||
"ClassName": "HttpService",
|
||||
"Properties": {
|
||||
|
|
@ -81,29 +9,101 @@
|
|||
"Value": true
|
||||
}
|
||||
},
|
||||
"Id": "b411bf23-4662-4799-a8eb-6afc1bd8888e",
|
||||
"Id": "daa80612-5a17-4d07-9e4e-baad4d568676",
|
||||
"Children": [],
|
||||
"Parent": "caf1ebc4-af44-4cad-935d-b44a8ca57d32"
|
||||
"Parent": "0c31c54f-ad78-4bd1-9a85-20b16a992147"
|
||||
},
|
||||
"ea14bb8b-cc04-4b0c-9aae-02f1447cbda7": {
|
||||
"1b9db376-c3b5-406c-8f6d-e2edf7b450ba": {
|
||||
"Name": "Bar",
|
||||
"ClassName": "Folder",
|
||||
"Properties": {},
|
||||
"Id": "1b9db376-c3b5-406c-8f6d-e2edf7b450ba",
|
||||
"Children": [
|
||||
"8fca320f-cf3f-4b9f-b232-171533985e7f",
|
||||
"83693370-350c-4f63-ac66-3bf79681c8b1"
|
||||
],
|
||||
"Parent": "cc953b08-acb9-4482-9262-be896caaa995"
|
||||
},
|
||||
"cc953b08-acb9-4482-9262-be896caaa995": {
|
||||
"Name": "ReplicatedStorage",
|
||||
"ClassName": "ReplicatedStorage",
|
||||
"Properties": {},
|
||||
"Id": "cc953b08-acb9-4482-9262-be896caaa995",
|
||||
"Children": [
|
||||
"a09f9a76-75b0-463c-88cf-23098326fa3a",
|
||||
"1b9db376-c3b5-406c-8f6d-e2edf7b450ba"
|
||||
],
|
||||
"Parent": "0c31c54f-ad78-4bd1-9a85-20b16a992147"
|
||||
},
|
||||
"a09f9a76-75b0-463c-88cf-23098326fa3a": {
|
||||
"Name": "Ack",
|
||||
"ClassName": "Folder",
|
||||
"Properties": {},
|
||||
"Id": "ea14bb8b-cc04-4b0c-9aae-02f1447cbda7",
|
||||
"Id": "a09f9a76-75b0-463c-88cf-23098326fa3a",
|
||||
"Children": [
|
||||
"833f7f8b-7ec3-4f6a-9476-63af9612510a",
|
||||
"0de0ab3d-e74a-473b-808a-076febe9d808"
|
||||
"005fbb30-ff81-4114-9d0a-9f8344ec9096",
|
||||
"bf13e09c-2405-4537-acdf-5572d58f53bf"
|
||||
],
|
||||
"Parent": "10f2a2c4-b3e4-478d-84d5-a74a71ee8235"
|
||||
"Parent": "cc953b08-acb9-4482-9262-be896caaa995"
|
||||
},
|
||||
"ce5ccafe-1165-4a3a-afb2-8da27cc123e2": {
|
||||
"83693370-350c-4f63-ac66-3bf79681c8b1": {
|
||||
"Name": "added",
|
||||
"ClassName": "Folder",
|
||||
"Properties": {},
|
||||
"Id": "ce5ccafe-1165-4a3a-afb2-8da27cc123e2",
|
||||
"Id": "83693370-350c-4f63-ac66-3bf79681c8b1",
|
||||
"Children": [],
|
||||
"Parent": "74b23f01-582f-4c6b-9f6c-e5c17c41c466"
|
||||
"Parent": "1b9db376-c3b5-406c-8f6d-e2edf7b450ba"
|
||||
},
|
||||
"005fbb30-ff81-4114-9d0a-9f8344ec9096": {
|
||||
"Name": "foo",
|
||||
"ClassName": "StringValue",
|
||||
"Properties": {
|
||||
"Value": {
|
||||
"Type": "String",
|
||||
"Value": "Hello world, from a/foo.txt"
|
||||
}
|
||||
},
|
||||
"Id": "005fbb30-ff81-4114-9d0a-9f8344ec9096",
|
||||
"Children": [],
|
||||
"Parent": "a09f9a76-75b0-463c-88cf-23098326fa3a"
|
||||
},
|
||||
"0c31c54f-ad78-4bd1-9a85-20b16a992147": {
|
||||
"Name": "multi_partition_game",
|
||||
"ClassName": "DataModel",
|
||||
"Properties": {},
|
||||
"Id": "0c31c54f-ad78-4bd1-9a85-20b16a992147",
|
||||
"Children": [
|
||||
"cc953b08-acb9-4482-9262-be896caaa995",
|
||||
"daa80612-5a17-4d07-9e4e-baad4d568676"
|
||||
],
|
||||
"Parent": null
|
||||
},
|
||||
"bf13e09c-2405-4537-acdf-5572d58f53bf": {
|
||||
"Name": "main",
|
||||
"ClassName": "ModuleScript",
|
||||
"Properties": {
|
||||
"Source": {
|
||||
"Type": "String",
|
||||
"Value": "-- hello, from a/main.lua"
|
||||
}
|
||||
},
|
||||
"Id": "bf13e09c-2405-4537-acdf-5572d58f53bf",
|
||||
"Children": [],
|
||||
"Parent": "a09f9a76-75b0-463c-88cf-23098326fa3a"
|
||||
},
|
||||
"8fca320f-cf3f-4b9f-b232-171533985e7f": {
|
||||
"Name": "something",
|
||||
"ClassName": "ModuleScript",
|
||||
"Properties": {
|
||||
"Source": {
|
||||
"Type": "String",
|
||||
"Value": "-- b/something.lua"
|
||||
}
|
||||
},
|
||||
"Id": "8fca320f-cf3f-4b9f-b232-171533985e7f",
|
||||
"Children": [],
|
||||
"Parent": "1b9db376-c3b5-406c-8f6d-e2edf7b450ba"
|
||||
}
|
||||
},
|
||||
"root_id": "caf1ebc4-af44-4cad-935d-b44a8ca57d32"
|
||||
"root_id": "0c31c54f-ad78-4bd1-9a85-20b16a992147"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue