+ 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; 
}