Created
November 15, 2014 11:29
-
-
Save forki/da4d259d7cf72ac3bec7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Analyze the name | |
| Expr.Val(vref,_,_),_,_ when valRefEq cenv.g vref cenv.g.nameof_vref -> | |
let name = | |
match args.Head with | |
| Expr.Val(r,_,_) -> r.CompiledName | |
| x -> "I have no idea what I'm doing:" + (x.ToString()) | |
Some( Expr.Const(Const.String name,m,cenv.g.string_ty), | |
{ TotalSize=1; | |
FunctionSize=1 | |
HasEffect=false; | |
MightMakeCriticalTailcall = false; | |
Info=UnknownValue}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment