- changed status to duplicate
'Expected type [SObject, List<SObject>]; found Location' when attempting to perform DML on Schema.Location
Issue #1795
duplicate
How to reproduce:
Schema.Location loc = new Schema.Location();
insert loc;
Expected behaviour:
There should be no error under insert loc;
Actual behaviour:
I think it’s simply confusing Schema.Location for System.Location.
Comments (1)
-
repo owner - Log in to comment
Duplicate of
#1627.