function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
admin sureshadmin suresh 

trigger dup on Account (before insert) { list<account> alist=trigger.new; } Error: Compile Error: Illegal assignment from LIST<Account> to LIST<account> at line 2 column 4

Shashikant SharmaShashikant Sharma
I was able to save this without any issues. I tried in version 32. Could you try to change version to 32 for the trigger.
 
trigger dup on Account (before insert) { 
list<account> alist=trigger.new; 
}