You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by jo...@apache.org on 2022/11/29 18:07:03 UTC

[royale-compiler] branch develop updated: missing swfdumps to fix tests

This is an automated email from the ASF dual-hosted git repository.

joshtynjala pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git


The following commit(s) were added to refs/heads/develop by this push:
     new ac1383ca9 missing swfdumps to fix tests
ac1383ca9 is described below

commit ac1383ca97da4bcf17609e2c0fa6cf0ba7bf6775
Author: Josh Tynjala <jo...@apache.org>
AuthorDate: Tue Nov 29 10:06:47 2022 -0800

    missing swfdumps to fix tests
---
 ...eratorTests_testNonNullMemberAccess_swfdump.xml | 161 +++++++++++++++++++++
 ...CoalescingOperatorTests_testNonNull_swfdump.xml | 157 ++++++++++++++++++++
 ...gOperatorTests_testNullMemberAccess_swfdump.xml | 161 +++++++++++++++++++++
 ...ishCoalescingOperatorTests_testNull_swfdump.xml | 157 ++++++++++++++++++++
 ..._testRegularStringAndVerbatimString_swfdump.xml | 151 +++++++++++++++++++
 5 files changed, 787 insertions(+)

diff --git a/compiler/src/test/resources/swfdumps/as_ASNullishCoalescingOperatorTests_testNonNullMemberAccess_swfdump.xml b/compiler/src/test/resources/swfdumps/as_ASNullishCoalescingOperatorTests_testNonNullMemberAccess_swfdump.xml
new file mode 100644
index 000000000..fd988c26e
--- /dev/null
+++ b/compiler/src/test/resources/swfdumps/as_ASNullishCoalescingOperatorTests_testNonNullMemberAccess_swfdump.xml
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<!-- Parsing swf file:/Users/joshtynjala/Development/apache/royale-compiler/compiler/target/junit-temp/%0.swf -->
+<swf xmlns="http://macromedia/2003/swfx" version="14" framerate="24.0" size="10000x7500" compressed="true" >
+  <!-- framecount=1 length=987 -->
+  <FileAttributes useDirectBlit="false" useGPU="false" hasMetadata="true" actionScript3="true" suppressCrossDomainCaching="false" swfRelativeUrls="false" useNetwork="true"/>
+  <Metadata>
+        <![CDATA[<?xml version="1.0" ?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+    <rdf:Description xmlns:dc="http://purl.org/dc/elements/1.1" xmlns:asc="http://ns.adobe.com/asc/2012">
+        <dc:format>application/x-shockwave-flash</dc:format>
+        <asc:compiler name="Apache Royale Compiler" version="0.9.10" build="0"/>
+    </rdf:Description>
+</rdf:RDF>
+]]>
+  </Metadata>
+  <SetBackgroundColor color="#FFFFFF"/>
+  <ScriptLimits scriptRecursionLimit="1000" scriptTimeLimit="60"/>
+  <DoABC>
+// script 0
+
+// class_id=0 slot_id=0
+public class %0 extends Object
+{
+
+  // method_id=3
+  public function %0():*
+  {
+    //  derivedName  %0  
+    //  method_info  3                                                     
+    //  max_stack    1                                                     
+    //  max_regs     1                                                     
+    //  scope_depth  0                                                     
+    //  max_scope    1                                                     
+    //  code_length  6                                                     
+    bb0
+      succs=[]
+      0      getlocal0            
+      1      pushscope            
+      2      getlocal0            
+      3      constructsuper    0  
+      4      returnvoid           
+  }
+
+  private function initHandler(Object):void
+  {
+    //  derivedName  initHandler  
+    //  method_info  1            
+    //  max_stack    4            
+    //  max_regs     4            
+    //  scope_depth  0            
+    //  max_scope    1            
+    //  code_length  42           
+    bb0
+      succs=[bb1,bb2]
+      0       getlocal0                                                                                                                                                                                               
+      1       pushscope                                                                                                                                                                                               
+      2       pushstring   "field"                                                                                                                                                                                    
+      3       pushstring   "foo"                                                                                                                                                                                      
+      4       newobject                                                                                                                                                                                            1  
+      5       coerce       Object                                                                                                                                                                                     
+      6       setlocal2                                                                                                                                                                                               
+      7       getlocal2                                                                                                                                                                                               
+      8       getproperty  {private, %0, %0, Object, , , private, http://adobe.com/AS3/2006/builtin, }::field     
+      9       pushnull                                                                                                                                                                                                
+      10      ifeq         bb2                                                                                                                                                                                        
+    bb1
+      succs=[bb3]
+      11      getlocal2                                                                                                                                                                                              
+      12      getproperty  {private, %0, %0, Object, , , private, http://adobe.com/AS3/2006/builtin, }::field    
+      13      jump         bb3                                                                                                                                                                                       
+    bb2
+      succs=[bb3]
+      14      pushstring  "bar"    
+    bb3
+      succs=[]
+      15      coerce          Object                           
+      16      setlocal3                                        
+      17      findpropstrict  assertEqual                      
+      18      pushstring      "non-null nullish coalescing"    
+      19      getlocal3                                        
+      20      pushstring      "foo"                            
+      21      callpropvoid                                     
+      22      returnvoid                                       
+  }
+
+  private function assertEqual(String,*,*):void
+  {
+    //  derivedName  assertEqual  
+    //  method_info  2            
+    //  max_stack    1            
+    //  max_regs     4            
+    //  scope_depth  0            
+    //  max_scope    1            
+    //  code_length  1            
+    bb0
+      succs=[]
+      0      returnvoid      
+  }
+
+  public static function %0$():*
+  {
+    //  derivedName  null  
+    //  method_info  4     
+    //  max_stack    0     
+    //  max_regs     1     
+    //  scope_depth  0     
+    //  max_scope    0     
+    //  code_length  1     
+    bb0
+      succs=[]
+      0      returnvoid      
+  }
+}
+
+function script0$init():*
+{
+  //  derivedName  null  
+  //  method_info  0     
+  //  max_stack    3     
+  //  max_regs     1     
+  //  scope_depth  0     
+  //  max_scope    2     
+  //  code_length  14    
+  bb0
+    succs=[]
+    0      getlocal0                                                                
+    1      pushscope                                                                
+    2      getscopeobject                                                        0  
+    3      getlex          Object                                                   
+    4      dup                                                                      
+    5      pushscope                                                                
+    6      newclass                                                                 
+    7      popscope                                                                 
+    8      initproperty    %0     
+    9      returnvoid                                                               
+}
+
+  </DoABC>
+  <SymbolClass>
+    <Symbol idref="0" className="%0" />
+  </SymbolClass>
+  <ShowFrame/>
+</swf>
diff --git a/compiler/src/test/resources/swfdumps/as_ASNullishCoalescingOperatorTests_testNonNull_swfdump.xml b/compiler/src/test/resources/swfdumps/as_ASNullishCoalescingOperatorTests_testNonNull_swfdump.xml
new file mode 100644
index 000000000..61cb64e35
--- /dev/null
+++ b/compiler/src/test/resources/swfdumps/as_ASNullishCoalescingOperatorTests_testNonNull_swfdump.xml
@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<!-- Parsing swf file:/Users/joshtynjala/Development/apache/royale-compiler/compiler/target/junit-temp/%0.swf -->
+<swf xmlns="http://macromedia/2003/swfx" version="14" framerate="24.0" size="10000x7500" compressed="true" >
+  <!-- framecount=1 length=845 -->
+  <FileAttributes useDirectBlit="false" useGPU="false" hasMetadata="true" actionScript3="true" suppressCrossDomainCaching="false" swfRelativeUrls="false" useNetwork="true"/>
+  <Metadata>
+        <![CDATA[<?xml version="1.0" ?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+    <rdf:Description xmlns:dc="http://purl.org/dc/elements/1.1" xmlns:asc="http://ns.adobe.com/asc/2012">
+        <dc:format>application/x-shockwave-flash</dc:format>
+        <asc:compiler name="Apache Royale Compiler" version="0.9.10" build="0"/>
+    </rdf:Description>
+</rdf:RDF>
+]]>
+  </Metadata>
+  <SetBackgroundColor color="#FFFFFF"/>
+  <ScriptLimits scriptRecursionLimit="1000" scriptTimeLimit="60"/>
+  <DoABC>
+// script 0
+
+// class_id=0 slot_id=0
+public class %0 extends Object
+{
+
+  // method_id=3
+  public function %0():*
+  {
+    //  derivedName  %0  
+    //  method_info  3                                                    
+    //  max_stack    1                                                    
+    //  max_regs     1                                                    
+    //  scope_depth  0                                                    
+    //  max_scope    1                                                    
+    //  code_length  6                                                    
+    bb0
+      succs=[]
+      0      getlocal0            
+      1      pushscope            
+      2      getlocal0            
+      3      constructsuper    0  
+      4      returnvoid           
+  }
+
+  private function initHandler(Object):void
+  {
+    //  derivedName  initHandler  
+    //  method_info  1            
+    //  max_stack    4            
+    //  max_regs     4            
+    //  scope_depth  0            
+    //  max_scope    1            
+    //  code_length  33           
+    bb0
+      succs=[bb1,bb2]
+      0      getlocal0            
+      1      pushscope            
+      2      pushstring  "foo"    
+      3      coerce_s             
+      4      setlocal2            
+      5      getlocal2            
+      6      pushnull             
+      7      ifeq        bb2      
+    bb1
+      succs=[bb3]
+      8      getlocal2         
+      9      jump       bb3    
+    bb2
+      succs=[bb3]
+      10      pushstring  "bar"    
+    bb3
+      succs=[]
+      11      coerce          Object                           
+      12      setlocal3                                        
+      13      findpropstrict  assertEqual                      
+      14      pushstring      "non-null nullish coalescing"    
+      15      getlocal3                                        
+      16      pushstring      "foo"                            
+      17      callpropvoid                                     
+      18      returnvoid                                       
+  }
+
+  private function assertEqual(String,*,*):void
+  {
+    //  derivedName  assertEqual  
+    //  method_info  2            
+    //  max_stack    1            
+    //  max_regs     4            
+    //  scope_depth  0            
+    //  max_scope    1            
+    //  code_length  1            
+    bb0
+      succs=[]
+      0      returnvoid      
+  }
+
+  public static function %0$():*
+  {
+    //  derivedName  null  
+    //  method_info  4     
+    //  max_stack    0     
+    //  max_regs     1     
+    //  scope_depth  0     
+    //  max_scope    0     
+    //  code_length  1     
+    bb0
+      succs=[]
+      0      returnvoid      
+  }
+}
+
+function script0$init():*
+{
+  //  derivedName  null  
+  //  method_info  0     
+  //  max_stack    3     
+  //  max_regs     1     
+  //  scope_depth  0     
+  //  max_scope    2     
+  //  code_length  14    
+  bb0
+    succs=[]
+    0      getlocal0                                                               
+    1      pushscope                                                               
+    2      getscopeobject                                                       0  
+    3      getlex          Object                                                  
+    4      dup                                                                     
+    5      pushscope                                                               
+    6      newclass                                                                
+    7      popscope                                                                
+    8      initproperty    %0     
+    9      returnvoid                                                              
+}
+
+  </DoABC>
+  <SymbolClass>
+    <Symbol idref="0" className="%0" />
+  </SymbolClass>
+  <ShowFrame/>
+</swf>
diff --git a/compiler/src/test/resources/swfdumps/as_ASNullishCoalescingOperatorTests_testNullMemberAccess_swfdump.xml b/compiler/src/test/resources/swfdumps/as_ASNullishCoalescingOperatorTests_testNullMemberAccess_swfdump.xml
new file mode 100644
index 000000000..77c07c277
--- /dev/null
+++ b/compiler/src/test/resources/swfdumps/as_ASNullishCoalescingOperatorTests_testNullMemberAccess_swfdump.xml
@@ -0,0 +1,161 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<!-- Parsing swf file:/Users/joshtynjala/Development/apache/royale-compiler/compiler/target/junit-temp/%0.swf -->
+<swf xmlns="http://macromedia/2003/swfx" version="14" framerate="24.0" size="10000x7500" compressed="true" >
+  <!-- framecount=1 length=979 -->
+  <FileAttributes useDirectBlit="false" useGPU="false" hasMetadata="true" actionScript3="true" suppressCrossDomainCaching="false" swfRelativeUrls="false" useNetwork="true"/>
+  <Metadata>
+        <![CDATA[<?xml version="1.0" ?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+    <rdf:Description xmlns:dc="http://purl.org/dc/elements/1.1" xmlns:asc="http://ns.adobe.com/asc/2012">
+        <dc:format>application/x-shockwave-flash</dc:format>
+        <asc:compiler name="Apache Royale Compiler" version="0.9.10" build="0"/>
+    </rdf:Description>
+</rdf:RDF>
+]]>
+  </Metadata>
+  <SetBackgroundColor color="#FFFFFF"/>
+  <ScriptLimits scriptRecursionLimit="1000" scriptTimeLimit="60"/>
+  <DoABC>
+// script 0
+
+// class_id=0 slot_id=0
+public class %0 extends Object
+{
+
+  // method_id=3
+  public function %0():*
+  {
+    //  derivedName  %0  
+    //  method_info  3                                                    
+    //  max_stack    1                                                    
+    //  max_regs     1                                                    
+    //  scope_depth  0                                                    
+    //  max_scope    1                                                    
+    //  code_length  6                                                    
+    bb0
+      succs=[]
+      0      getlocal0            
+      1      pushscope            
+      2      getlocal0            
+      3      constructsuper    0  
+      4      returnvoid           
+  }
+
+  private function initHandler(Object):void
+  {
+    //  derivedName  initHandler  
+    //  method_info  1            
+    //  max_stack    4            
+    //  max_regs     4            
+    //  scope_depth  0            
+    //  max_scope    1            
+    //  code_length  41           
+    bb0
+      succs=[bb1,bb2]
+      0       getlocal0                                                                                                                                                                                             
+      1       pushscope                                                                                                                                                                                             
+      2       pushstring   "field"                                                                                                                                                                                  
+      3       pushnull                                                                                                                                                                                              
+      4       newobject                                                                                                                                                                                          1  
+      5       coerce       Object                                                                                                                                                                                   
+      6       setlocal2                                                                                                                                                                                             
+      7       getlocal2                                                                                                                                                                                             
+      8       getproperty  {private, %0, %0, Object, , , private, http://adobe.com/AS3/2006/builtin, }::field     
+      9       pushnull                                                                                                                                                                                              
+      10      ifeq         bb2                                                                                                                                                                                      
+    bb1
+      succs=[bb3]
+      11      getlocal2                                                                                                                                                                                            
+      12      getproperty  {private, %0, %0, Object, , , private, http://adobe.com/AS3/2006/builtin, }::field    
+      13      jump         bb3                                                                                                                                                                                     
+    bb2
+      succs=[bb3]
+      14      pushstring  "bar"    
+    bb3
+      succs=[]
+      15      coerce          Object                           
+      16      setlocal3                                        
+      17      findpropstrict  assertEqual                      
+      18      pushstring      "non-null nullish coalescing"    
+      19      getlocal3                                        
+      20      pushstring      "bar"                            
+      21      callpropvoid                                     
+      22      returnvoid                                       
+  }
+
+  private function assertEqual(String,*,*):void
+  {
+    //  derivedName  assertEqual  
+    //  method_info  2            
+    //  max_stack    1            
+    //  max_regs     4            
+    //  scope_depth  0            
+    //  max_scope    1            
+    //  code_length  1            
+    bb0
+      succs=[]
+      0      returnvoid      
+  }
+
+  public static function %0$():*
+  {
+    //  derivedName  null  
+    //  method_info  4     
+    //  max_stack    0     
+    //  max_regs     1     
+    //  scope_depth  0     
+    //  max_scope    0     
+    //  code_length  1     
+    bb0
+      succs=[]
+      0      returnvoid      
+  }
+}
+
+function script0$init():*
+{
+  //  derivedName  null  
+  //  method_info  0     
+  //  max_stack    3     
+  //  max_regs     1     
+  //  scope_depth  0     
+  //  max_scope    2     
+  //  code_length  14    
+  bb0
+    succs=[]
+    0      getlocal0                                                               
+    1      pushscope                                                               
+    2      getscopeobject                                                       0  
+    3      getlex          Object                                                  
+    4      dup                                                                     
+    5      pushscope                                                               
+    6      newclass                                                                
+    7      popscope                                                                
+    8      initproperty    %0     
+    9      returnvoid                                                              
+}
+
+  </DoABC>
+  <SymbolClass>
+    <Symbol idref="0" className="%0" />
+  </SymbolClass>
+  <ShowFrame/>
+</swf>
diff --git a/compiler/src/test/resources/swfdumps/as_ASNullishCoalescingOperatorTests_testNull_swfdump.xml b/compiler/src/test/resources/swfdumps/as_ASNullishCoalescingOperatorTests_testNull_swfdump.xml
new file mode 100644
index 000000000..ddda76026
--- /dev/null
+++ b/compiler/src/test/resources/swfdumps/as_ASNullishCoalescingOperatorTests_testNull_swfdump.xml
@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<!-- Parsing swf file:/Users/joshtynjala/Development/apache/royale-compiler/compiler/target/junit-temp/%0.swf -->
+<swf xmlns="http://macromedia/2003/swfx" version="14" framerate="24.0" size="10000x7500" compressed="true" >
+  <!-- framecount=1 length=842 -->
+  <FileAttributes useDirectBlit="false" useGPU="false" hasMetadata="true" actionScript3="true" suppressCrossDomainCaching="false" swfRelativeUrls="false" useNetwork="true"/>
+  <Metadata>
+        <![CDATA[<?xml version="1.0" ?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+    <rdf:Description xmlns:dc="http://purl.org/dc/elements/1.1" xmlns:asc="http://ns.adobe.com/asc/2012">
+        <dc:format>application/x-shockwave-flash</dc:format>
+        <asc:compiler name="Apache Royale Compiler" version="0.9.10" build="0"/>
+    </rdf:Description>
+</rdf:RDF>
+]]>
+  </Metadata>
+  <SetBackgroundColor color="#FFFFFF"/>
+  <ScriptLimits scriptRecursionLimit="1000" scriptTimeLimit="60"/>
+  <DoABC>
+// script 0
+
+// class_id=0 slot_id=0
+public class %0 extends Object
+{
+
+  // method_id=3
+  public function %0():*
+  {
+    //  derivedName  %0  
+    //  method_info  3                                                     
+    //  max_stack    1                                                     
+    //  max_regs     1                                                     
+    //  scope_depth  0                                                     
+    //  max_scope    1                                                     
+    //  code_length  6                                                     
+    bb0
+      succs=[]
+      0      getlocal0            
+      1      pushscope            
+      2      getlocal0            
+      3      constructsuper    0  
+      4      returnvoid           
+  }
+
+  private function initHandler(Object):void
+  {
+    //  derivedName  initHandler  
+    //  method_info  1            
+    //  max_stack    4            
+    //  max_regs     4            
+    //  scope_depth  0            
+    //  max_scope    1            
+    //  code_length  32           
+    bb0
+      succs=[bb1,bb2]
+      0      getlocal0         
+      1      pushscope         
+      2      pushnull          
+      3      coerce_s          
+      4      setlocal2         
+      5      getlocal2         
+      6      pushnull          
+      7      ifeq       bb2    
+    bb1
+      succs=[bb3]
+      8      getlocal2         
+      9      jump       bb3    
+    bb2
+      succs=[bb3]
+      10      pushstring  "bar"    
+    bb3
+      succs=[]
+      11      coerce          Object                           
+      12      setlocal3                                        
+      13      findpropstrict  assertEqual                      
+      14      pushstring      "non-null nullish coalescing"    
+      15      getlocal3                                        
+      16      pushstring      "bar"                            
+      17      callpropvoid                                     
+      18      returnvoid                                       
+  }
+
+  private function assertEqual(String,*,*):void
+  {
+    //  derivedName  assertEqual  
+    //  method_info  2            
+    //  max_stack    1            
+    //  max_regs     4            
+    //  scope_depth  0            
+    //  max_scope    1            
+    //  code_length  1            
+    bb0
+      succs=[]
+      0      returnvoid      
+  }
+
+  public static function %0$():*
+  {
+    //  derivedName  null  
+    //  method_info  4     
+    //  max_stack    0     
+    //  max_regs     1     
+    //  scope_depth  0     
+    //  max_scope    0     
+    //  code_length  1     
+    bb0
+      succs=[]
+      0      returnvoid      
+  }
+}
+
+function script0$init():*
+{
+  //  derivedName  null  
+  //  method_info  0     
+  //  max_stack    3     
+  //  max_regs     1     
+  //  scope_depth  0     
+  //  max_scope    2     
+  //  code_length  14    
+  bb0
+    succs=[]
+    0      getlocal0                                                                
+    1      pushscope                                                                
+    2      getscopeobject                                                        0  
+    3      getlex          Object                                                   
+    4      dup                                                                      
+    5      pushscope                                                                
+    6      newclass                                                                 
+    7      popscope                                                                 
+    8      initproperty    %0     
+    9      returnvoid                                                               
+}
+
+  </DoABC>
+  <SymbolClass>
+    <Symbol idref="0" className="%0" />
+  </SymbolClass>
+  <ShowFrame/>
+</swf>
diff --git a/compiler/src/test/resources/swfdumps/as_ASVerbatimStringTests_testRegularStringAndVerbatimString_swfdump.xml b/compiler/src/test/resources/swfdumps/as_ASVerbatimStringTests_testRegularStringAndVerbatimString_swfdump.xml
new file mode 100644
index 000000000..12dd3cfa9
--- /dev/null
+++ b/compiler/src/test/resources/swfdumps/as_ASVerbatimStringTests_testRegularStringAndVerbatimString_swfdump.xml
@@ -0,0 +1,151 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+
+  Licensed to the Apache Software Foundation (ASF) under one or more
+  contributor license agreements.  See the NOTICE file distributed with
+  this work for additional information regarding copyright ownership.
+  The ASF licenses this file to You under the Apache License, Version 2.0
+  (the "License"); you may not use this file except in compliance with
+  the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+
+-->
+<!-- Parsing swf file:/Users/joshtynjala/Development/apache/royale-compiler/compiler/target/junit-temp/%0.swf -->
+<swf xmlns="http://macromedia/2003/swfx" version="14" framerate="24.0" size="10000x7500" compressed="true" >
+  <!-- framecount=1 length=848 -->
+  <FileAttributes useDirectBlit="false" useGPU="false" hasMetadata="true" actionScript3="true" suppressCrossDomainCaching="false" swfRelativeUrls="false" useNetwork="true"/>
+  <Metadata>
+        <![CDATA[<?xml version="1.0" ?>
+<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+    <rdf:Description xmlns:dc="http://purl.org/dc/elements/1.1" xmlns:asc="http://ns.adobe.com/asc/2012">
+        <dc:format>application/x-shockwave-flash</dc:format>
+        <asc:compiler name="Apache Royale Compiler" version="0.9.10" build="0"/>
+    </rdf:Description>
+</rdf:RDF>
+]]>
+  </Metadata>
+  <SetBackgroundColor color="#FFFFFF"/>
+  <ScriptLimits scriptRecursionLimit="1000" scriptTimeLimit="60"/>
+  <DoABC>
+// script 0
+
+// class_id=0 slot_id=0
+public class %0 extends Object
+{
+
+  // method_id=3
+  public function %0():*
+  {
+    //  derivedName  %0  
+    //  method_info  3                                         
+    //  max_stack    1                                         
+    //  max_regs     1                                         
+    //  scope_depth  0                                         
+    //  max_scope    1                                         
+    //  code_length  6                                         
+    bb0
+      succs=[]
+      0      getlocal0            
+      1      pushscope            
+      2      getlocal0            
+      3      constructsuper    0  
+      4      returnvoid           
+  }
+
+  private function initHandler(Object):void
+  {
+    //  derivedName  initHandler  
+    //  method_info  1            
+    //  max_stack    4            
+    //  max_regs     4            
+    //  scope_depth  0            
+    //  max_scope    1            
+    //  code_length  31           
+    bb0
+      succs=[]
+      0       getlocal0                              
+      1       pushscope                              
+      2       pushstring      "regular\tstring"      
+      3       coerce_s                               
+      4       setlocal2                              
+      5       pushstring      "verbatim\\tstring"    
+      6       coerce_s                               
+      7       setlocal3                              
+      8       findpropstrict  assertEqual            
+      9       pushstring      "regular string"       
+      10      getlocal2                              
+      11      pushstring      "regular\tstring"      
+      12      callpropvoid                           
+      13      findpropstrict  assertEqual            
+      14      pushstring      "verbatim string"      
+      15      getlocal3                              
+      16      pushstring      "verbatim\\tstring"    
+      17      callpropvoid                           
+      18      returnvoid                             
+  }
+
+  private function assertEqual(String,*,*):void
+  {
+    //  derivedName  assertEqual  
+    //  method_info  2            
+    //  max_stack    1            
+    //  max_regs     4            
+    //  scope_depth  0            
+    //  max_scope    1            
+    //  code_length  1            
+    bb0
+      succs=[]
+      0      returnvoid      
+  }
+
+  public static function %0$():*
+  {
+    //  derivedName  null  
+    //  method_info  4     
+    //  max_stack    0     
+    //  max_regs     1     
+    //  scope_depth  0     
+    //  max_scope    0     
+    //  code_length  1     
+    bb0
+      succs=[]
+      0      returnvoid      
+  }
+}
+
+function script0$init():*
+{
+  //  derivedName  null  
+  //  method_info  0     
+  //  max_stack    3     
+  //  max_regs     1     
+  //  scope_depth  0     
+  //  max_scope    2     
+  //  code_length  14    
+  bb0
+    succs=[]
+    0      getlocal0                                                    
+    1      pushscope                                                    
+    2      getscopeobject                                            0  
+    3      getlex          Object                                       
+    4      dup                                                          
+    5      pushscope                                                    
+    6      newclass                                                     
+    7      popscope                                                     
+    8      initproperty    %0     
+    9      returnvoid                                                   
+}
+
+  </DoABC>
+  <SymbolClass>
+    <Symbol idref="0" className="%0" />
+  </SymbolClass>
+  <ShowFrame/>
+</swf>